Open Asterune
Torque

Torque

Applies torque to an attachment's assembly.

Creatable
Instance.new("Torque")
Inherits
ConstraintInstance
Replication
Standard

Behavior

Torque applies torque to an attachment's assembly.

Summary

Members9
Properties8
Methods1

Properties

Active

Torque.Active: boolean = false

Whether the constraint is currently active in the physics simulation.

Attachment0

Torque.Attachment0: Attachment? = nil

The first attachment used by the constraint or effect.

Attachment1

Torque.Attachment1: Attachment? = nil

The second attachment used by the constraint or effect.

Color

Torque.Color: Color3 = Color3.new(1, 0.686, 0)

The color of the constraint visualization.

Enabled

Torque.Enabled: boolean = true

Whether the physics solver processes this constraint.

RelativeTo

The coordinate frame used to interpret the actuator's force or velocity.

Torque

Torque.Torque: Vector3 = Vector3.new(0, 0, 0)

The torque vector applied to the attachment assembly.

Visible

Torque.Visible: boolean = false

Whether the constraint visualization is displayed.

Methods

GetExecutionGroup

Torque: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

Constraint