SetSpritePhysicsCanRotate
Description
Sets whether the physics simulation is allowed to rotate the sprite.
Definition
SetSpritePhysicsCanRotate( iSpriteIndex, rotate )
void agk::SetSpritePhysicsCanRotate( UINT iSpriteIndex, int rotate )
Parameters
- iSpriteIndex - The ID of the sprite to modify.
- rotate - 1 to allow rotation, 0 to prevent it.