Methods
Static aimTo
- aimTo(obj: YEntity | YLogic | YGroup, targetObject: YEntity | YLogic | YGroup, offset: YVector3, offsetIsRelative: boolean, maxSpeed: number, acceleration: number, distanceToStartRotation: number, distanceToEndRotation: number, x: boolean, y: boolean, z: boolean): void
-
Parameters
-
-
-
-
offsetIsRelative: boolean
-
maxSpeed: number
-
acceleration: number
-
distanceToStartRotation: number
-
distanceToEndRotation: number
-
x: boolean
-
y: boolean
-
z: boolean
Returns void
Static follow
- follow(obj: YEntity | YLogic | YGroup, targetObject: YEntity | YLogic | YGroup, offset: YVector3, offsetIsRelative: boolean, maxSpeed: number, acceleration: number, distanceToStartMovement: number, distanceToEndMovement: number): void
-
Parameters
-
-
-
-
offsetIsRelative: boolean
-
maxSpeed: number
-
acceleration: number
-
distanceToStartMovement: number
-
distanceToEndMovement: number
Returns void
Static getControllerParameterVariable
Static getPositionAnimator
Static getPossessedObject
Static getRotationAnimator
Static moveToSpeed
-
Parameters
-
-
-
speed: number
-
smoothing: number
Returns void
Static moveToTime
-
Parameters
-
-
-
time: number
-
smoothing: number
Returns void
Static rotateToSpeed
-
Parameters
-
-
-
speed: number
-
smoothing: number
Returns void
Static rotateToTime
-
Parameters
-
-
-
time: number
-
smoothing: number
Returns void
Static setControllerParameterVariable
-
Parameters
-
-
variableName: String
-
variableValue: any
Returns void
Static setPositionAnimator
Static setPossessedObject
Static setRotationAnimator
Rotates selected animated object towards target object.