How to do move and rotate?

ShadowMoonShadowMoon Member Posts: 146
edited May 2012 in Working with GS (Mac)
Ive been search the forum but couldnt find any answers. I am doing a rock move and rotate to a destination. I apply physics to the Rock with 800 Accelerate of gravity, and also self.motionLinearVelocity.X. The problem is the Rock acting weird. it flys away. anyone how to do that correctly?

Thanks
Clock

Best Answer

Answers

  • jckmcgrawjckmcgraw Member Posts: 647
    @Clock

    Well, to start with what exactly are you trying to achieve? If you want gravity on your scene, you could check the box that says "gravity" under the scene attributes. If you only want one actor to accelerate down, you could have an accelerate behavior that says accelerate 800 at 270 angle (that is down).

    self.motion.linear.velocity.x will make an object fly side to side (like a coordinate grid). If this doesn't help you need to make yourself much more clear.

    Regards,
    Jack McGraw
Sign In or Register to comment.