Open Asterune
AngularVelocity

AngularVelocity

Applies torque to maintain a target angular velocity.

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

Behavior

AngularVelocity applies torque to maintain a target angular velocity.

Summary

Members11
Properties10
Methods1

Properties

Active

AngularVelocity.Active: boolean = false

Whether the constraint is currently active in the physics simulation.

AngularVelocity

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

The target angular velocity vector.

Attachment0

AngularVelocity.Attachment0: Attachment? = nil

The first attachment used by the constraint or effect.

Attachment1

AngularVelocity.Attachment1: Attachment? = nil

The second attachment used by the constraint or effect.

Color

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

The color of the constraint visualization.

Enabled

AngularVelocity.Enabled: boolean = true

Whether the physics solver processes this constraint.

MaxTorque

AngularVelocity.MaxTorque: number = inf

The maximum torque the actuator can apply.

ReactionTorqueEnabled

AngularVelocity.ReactionTorqueEnabled: boolean = false

Whether the actuator applies an equal and opposite torque to the second assembly.

RelativeTo

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

Visible

AngularVelocity.Visible: boolean = false

Whether the constraint visualization is displayed.

Methods

GetExecutionGroup

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