master0500 wrote:in the current version of gE you are unable to rotate an actor though in the next version you will
Angle decides the direction that the actor travels in and for that to work, you need to include the Directional-velocity
- Code: Select all
actor.angle=0;
directionalVelocity=7;
Well, to be exact, master0500, it's directional_velocity, so the code would have to be this:
- Code: Select all
actor.angle = 133;
actor.directional_velocity = 7;
That's for changing the angle and velocity of actor called 'actor'.
For changing the current actors angle and velocity, one can leave the actor name part, and just write:
- Code: Select all
angle = 133;
directional_velocity = 7;
That was just for avoiding confusion.