Skip to content

BodyPosition

Inherits Instance

BodyPosition are objects that apply a force to their parent until it moves toward the target position.

Properties

TargetPosition : Vector3

Determines the target position that the body applies forces to get to.

Force : number

Determines how much force the body applies.

AcceptanceDistance : number

Determines how close the body has to be to the target position to stop applying forces to it.