Open Asterune
LookAtControl

LookAtControl

Rotates an articulated chain toward a target.

Creatable
Instance.new("LookAtControl")
Inherits
RigControlInstance
Replication
Standard

Behavior

LookAtControl rotates an articulated chain toward a target.

Summary

Members13
Properties12
Methods1

Properties

Axis

LookAtControl.Axis: Vector3 = Vector3.new(0, 0, -1)

The attachment's primary local axis.

ChainLength

LookAtControl.ChainLength: number = 1

The number of joints included in the controlled chain.

ChainRoot

LookAtControl.ChainRoot: BasePart? = nil

The first Part in the articulated chain controlled by this rig control.

Enabled

LookAtControl.Enabled: boolean = true

Whether this look at control is enabled.

EndEffector

LookAtControl.EndEffector: BasePart? = nil

The Part at the end of the controlled chain.

MaxPitch

LookAtControl.MaxPitch: number = 45

The maximum pitch rotation permitted by the look-at control.

MaxYaw

LookAtControl.MaxYaw: number = 75

The maximum yaw rotation permitted by the look-at control.

Priority

LookAtControl.Priority: number = 0

The relative priority used to order or process this object.

SmoothTime

LookAtControl.SmoothTime: number = 0

The smoothing time applied when approaching the rig-control target, in seconds.

Target

LookAtControl.Target: Instance? = nil

The Instance providing the world-space target for this rig control.

TargetPosition

LookAtControl.TargetPosition: Vector3 = Vector3.new(0, 0, 0)

The linear position sought by a servo, in studs.

Weight

LookAtControl.Weight: number = 1

The contribution of this pose or rig control to the resulting animation.

Methods

GetExecutionGroup

LookAtControl:GetExecutionGroup(): ExecutionGroup?

Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.

Inherited members

Inherited47

RigControl