PhysicsApplyVelocityForce

From Multi Theft Auto: Wiki

Accelerate velocity of rigid body. ( i'm not sure is correct explanation )

Syntax

bool physicsApplyVelocityForce( physics-rigid-body theRigidBody, float velocityX, float velocityY, float velocityZ [, float relativeX, float relativeY, float relativeZ ] )             

Required Arguments

  • theRigidBody: rigid body you want to apply velocity
  • velocityXYZ: velocity you wants to apply
  • relativeXYZ: relative position, default: 0,0,0

Returns

True if velocity got accelereted, false otherwise.

Example


See Also