Page 1 of 1

body.v vs shape.surface_v

PostPosted: Thu Mar 19, 2015 7:38 am
by ref2401
Can't understand the difference between body's velocity (body.v) and surface velocity of the shape added to this body (shape.surface_v). Could anyone explain it to me please?

Re: body.v vs shape.surface_v

PostPosted: Thu Apr 02, 2015 12:49 pm
by maximile
Heya,

The body's velocity is the speed and direction the body is moving in.

A shape's surface velocity affects other things that are touching it. As an example, you could create a static body with a shape representing a conveyor belt and then set its surface velocity to move anything that sits on top of it.

Hope that helps.