Category: Objects
/ Movement
Since engine version: 1.0 OC
SetYDir
Description
Sets the vertical speed of the object.
Syntax
bool SetYDir(int ydir, int precision);
Parameters
- ydir:
- Vertical speed divided by precision.
- precision:
- [opt] Precision. Default 10 if not specified.