# SetObject3DPhysicsAngularVelocity

## Description

Sets the angular velocity of the object The angle vector is automatically normilized.

## Definition

SetObject3DPhysicsAngularVelocity( objID, angX, angY, angZ, initialSpeed )

void agk::SetObject3DPhysicsAngularVelocity( UINT objID, float angX, float angY, float angZ, float initialSpeed )

SetObject3DPhysicsAngularVelocity( objID, vectorID, initialSpeed )

void agk::SetObject3DPhysicsAngularVelocity( UINT objID, UINT vectorID, float initialSpeed )

## Parameters

- objID - object ID
- angX - the X component of the angle vector
- angY - the Y component of the angle vector
- angZ - the Z component of the angle vector
- initialSpeed - the initial speed.
- vectorID - ID of direction Vector.