PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

LineForce

Show deprecated

LineForce

Show deprecated

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

bool

ApplyAtCenterOfMass

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

InverseSquareLaw

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

float

Magnitude

The magnitude of the force.

float

MaxForce

Maximum absolute force that can be applied.

bool

ReactionForceEnabled

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

Functions

Events