SetObject3DPhysicsMaxLinearVelocity
Description
This will set the max linear velocity for the dynamic object. This will prevent objects from going too fast to be seen on screen.
Definition
SetObject3DPhysicsMaxLinearVelocity( objID, maxLinearVelocity )
void agk::SetObject3DPhysicsMaxLinearVelocity( uint32_t objID, float maxLinearVelocity )
Parameters
- objID - object ID
- maxLinearVelocity - max speed an object can reach.