OK, I am trying to create a catapult movement without physics. I have one object which rotates freely. the second object is inside the first object and has the same angle. vec_set(object2,object1); vec_set (object2.pan, object1.pan);. Then when the first object has the angle say vector(0,10,20). And if I press a button, the second object should catapult from the first one and I want to use this angle (vector(0,10,20)) to calculate its movement. However, I also need to ignore now vec_set(object2.pan,object1.pan), because I need only that angle, which I "memorized" (vector(0,10,20( to find the trajectory of movement, no matter how the object1 is rotated now. So my question is how to memorize an angle at the instant when the button was pressed to use it further?
Another example: a ball is constantly rotating by 1 degree: 0+1=1, 1+1=2, 2+1 =3. For example I want to "memorize"this angle 3, so that I can make a variable velocity = 3; and then use c_move(me, vector(velocity,0,0),nullvector, GLIDE);. And I cannot just set velocity = ball.pan, because the ball continues to rotate 3+1=4, 4+1=5, which would constantly change the velocity value.
Sorry, if I am bad in explanations laugh


a generator of dull questions smile