thanks, i got a bunch of questions now
when the x,y,z size of the ball is all 0.500, the ball works perfect,
but when i make it smaller it goes insane when used,
why is that what can i do about it... i need it to be a tiny golf ball.
i also added a particle effect to show the trajectory while your holding the mousedown,
once again works fine, PSYS_PART_MAX_AGE seems to represent the size
so i set it to (float) gMag
that way if i increase/decrease the power level - the size of the particle LINE/BEAM should do the same
only problem i got now is the beam aint facing the right ANGLE
so i tried to do something like this
PSYS_SRC_ANGLE_BEGIN, (float) -5*gGrabVec * PI, PSYS_SRC_ANGLE_END, (float) -5*gGrabVec * PI
that didnt compile but ive tried all sorts like llVecMag(gGrabVec)
i dont understand it im just trying to make it work the way i want by fiddling with it
long story short i want the particle effect angle to change to the correct angle when i move my mouse position.
also when you collide with a object is it possible to get the name of the prim if its apart of a linkset,
i think i got no choice but to leave the golf hole unlinked from the course.
last question
at the moment everytime the ball collides with the hole we consider it potted,
thats not realy how the game should work tho? thats not how flash web games work
if you smash the ball super hard it usually rolls over the hole hits the back wall and rebounds elsewhere
what im trying to say is
how do i determine the velocity of the ball, if below a certain number then i guess its rolling slowly so yes we can consider it potted otherwise it was probally hit to hard and shouldnt be counted
also is it impossible to change a persons camera view unless they sitting? cant it be done by touch.. ive tried but no success