Class TransformPositionLerpTowardsObjectBlock
- Namespace
- LunyScript.Blocks
- Assembly
- LunyScript.dll
public sealed class TransformPositionLerpTowardsObjectBlock : TransformInterpolateTowardsObjectBlock, IScriptBlock
- Inheritance
-
objectTransformPositionLerpTowardsObjectBlock
- Implements
- Inherited Members
Methods
Create(ILunyObject, double, double, LunyVector3, double, bool)
public static TransformPositionLerpTowardsObjectBlock Create(ILunyObject target, double speed, double deadZone = 0.1, LunyVector3 axisLock = default, double responsiveness = 1, bool spherical = false)
Parameters
targetILunyObjectspeeddoubledeadZonedoubleaxisLockLunyVector3responsivenessdoublesphericalbool
Returns
Execute(IScriptRuntimeContext)
protected override void Execute(IScriptRuntimeContext runtimeContext)
Parameters
runtimeContextIScriptRuntimeContext
ToString()
public override string ToString()
Returns
- string