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