ScriptObjectMotion
The start and end of a timed object edit.
Definition
Section titled “Definition”type ScriptObjectMotion = Readonly<{ fromPosition: Vector3; toPosition: Vector3; fromRotationDegrees: Vector3; toRotationDegrees: Vector3; startSessionMs: number; durationMs: number;}>;Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
fromPosition, toPosition |
Vector3 |
Start and end positions. |
fromRotationDegrees, toRotationDegrees |
Vector3 |
Start and end GTA:SA angles. |
startSessionMs |
number |
Start time on the session clock. |
durationMs |
number |
Duration in milliseconds. |