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