# SetSpritePhysicsAngularVelocity

## Description

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.

## Definition

SetSpritePhysicsAngularVelocity( iSpriteIndex, va )

void agk::SetSpritePhysicsAngularVelocity( UINT iSpriteIndex, float va )

## Parameters

- iSpriteIndex - The ID of the sprite to modify.
- va - The new angular velocity.