AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkSprite.PhysicsAngularVelocity Property

The angular velocity of the sprite in radians per second. This is the speed at which the sprite is currently rotating.

Syntax
Pascal
property PhysicsAngularVelocity: Single;

When you set this property, it immediately sets the sprite's rotational velocity to the given direction. This is an abrupt change that might not look right during the physics simulation, torque and angular impulses are the preferred approach to influencing angular velocity.

Copyright (c) 2012. All rights reserved.