We use cookies on this site to enhance your user experience

A LineForce is used to apply a force along a line between two points. As the end points of the line move, the direction of the force will change accordingly.


Properties

Name Type Description
bool

When set to false, the force will be applied to the part at the Attachment0’s location. This means that if the attachment is not at the center of the part, it can create a torque on the part.

bool

When true, the force magnitude is multiplied by the inverse square of the distance.

float

The magnitude of the force.

float

Maximum absolute force that can be applied.

bool

Enables an equal and opposite reaction force on the parent of Attachment1.

Inherited from Instance , Constraint

Archivable ClassName DataCost Name Parent RobloxLocked Attachment0 Attachment1 Color Enabled Visible