|
setLinearVelocitysetLinearVelocity(force, local)Note:Object types: Dynamic and
Rigid body
Sets the linear velocity of a game object. force: Force to be applied along an axis. Type:
float list [fx, fy, fz]
local: Select local or world axis to apply force. Type: Bool
1 or True = use game object axis
0 or False = use world axis Sample Code
|