voidfunctionSplineTranslateToRef(ObjectReferencearTarget, floatafTangentMagnitude, floatafSpeed, floatafMaxRotationSpeed=0.0)
Description
Wiki Description
Makes the object translate to the passed reference (matching position and rotation) at the given speed using a spline.
Documentation Comment
Makes the reference translate to the target ref position/orient on a spline at the given speed
Caveats
Parameters
floatafTangentMagnitude
CK Wiki Description
Magnitude of the spline tangents
floatafSpeed
CK Wiki Description
Movement Speed.
floatafMaxRotationSpeed=0.0
CK Wiki Description
The maximum rotation speed (Default is 0 to mean "don't clamp rotation speed")
- Default:0
Examples
; Translate the bird ref to the rock with a low spline magnitude and speed
Bird.SplineTranslateToRef(Rock, 1.0, 1.0); Translate the bird ref to the rock with a low spline magnitude and speed, and low rotation speed
Bird.SplineTranslateToRef(Rock, 1.0, 1.0, 10)Auto-Generated Example
ObjectReference myObjectReference__arTarget
float myFloat__afTangentMagnitude
float myFloat__afSpeed
float myFloat__afMaxRotationSpeed
myObjectReference__toCallFunctionOn.SplineTranslateToRef(myObjectReference__arTarget, myFloat__afTangentMagnitude, myFloat__afSpeed, myFloat__afMaxRotationSpeed)