How to get velocity of an object

SANDEEP410SANDEEP410 Member Posts: 46
edited May 2012 in Working with GS (Mac)
i want my ball to inc its velocity eveytime it collides .so how can i get the velocity of my ball.There is only x and y velocity option.But i want the net velocity

Best Answer

  • tatiangtatiang Posts: 11,949
    Accepted Answer
    magnitude(self.motion.linear velocity.x, self.motion.linear velocity.y)
Sign In or Register to comment.