Maintaining a minimum velocity

SANDEEP410SANDEEP410 Member Posts: 46
edited May 2012 in Working with GS (Mac)
I want my ball which collides with ots of stuff to maintain a minimum velocity of atleast 50.
But i cant get a magnitude option while creating a rule.
Any1 knows how to do it.
I also have negative X velocity going in the game

Best Answer

  • jckmcgrawjckmcgraw Posts: 647
    Accepted Answer
    @sandeep410

    Rule: if self.motion.linear.x or y is < 50, accelerate to the amount you want in the direction he is going.
Sign In or Register to comment.