Table of Contents

Class TransformRotationLinearTowardsObjectBlock

Namespace
LunyScript.Blocks
/
Assembly
LunyScript.dll
public sealed class TransformRotationLinearTowardsObjectBlock : TransformInterpolateTowardsObjectBlock, IScriptBlock
Expand Details ...
Inheritance
Object
TransformRotationLinearTowardsObjectBlock
Implements
Inherited Members

Methods

Create(ILunyObject, Double, Double, LunyVector3, Double)

public static TransformRotationLinearTowardsObjectBlock Create(ILunyObject target, Double speed, Double deadZone = 0.1, LunyVector3 axisLock = default, Double responsiveness = 1)

Parameters

Type Name Description
ILunyObject
target
Double
speed
Double
deadZone
LunyVector3
axisLock
Double
responsiveness

Returns

TransformRotationLinearTowardsObjectBlock

Execute(IScriptRuntimeContext)

protected override void Execute(IScriptRuntimeContext runtimeContext)

Parameters

Type Name Description
IScriptRuntimeContext
runtimeContext

ToString()

public override String ToString()

Returns

String