SetRDir

Category: Objects / Movement
Since engine version: 4.6.5.0 CP (extended in 4.9.1.0 GWE)

Description

Sets the rotation speed of an object.

Syntax

bool SetRDir (int iRDir, object pObj, int iPrecision);

Parameters

iRDir:
Rotation speed divided by iPrecision
pObj:
[opt] Target object. Can be 0 in local calls.
iPrecision:
[opt] Precision. Default 10 if not specified or 0.
See also: GetRDir, SetR, SetXDir, SetYDir
jwk, August 2002