Background for Skyrim SE
Member of the ObjectReference script
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


Parameters

  1. ObjectReferencearTarget

    CK Wiki Description

    The target to match position and rotation to

  2. floatafTangentMagnitude

    CK Wiki Description

    Magnitude of the spline tangents

  3. floatafSpeed

    CK Wiki Description

    Movement Speed.

  4. floatafMaxRotationSpeed=0.0

    CK Wiki Description

    The maximum rotation speed (Default is 0 to mean "don't clamp rotation speed")

    • Default:0

Examples

No human-generated examples found for this function.

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)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.