Function

pointEffector

(opt: PointEffectorCompOpt): PointEffectorComp

Applies a force on a colliding object directed towards this object's origin. Good to apply magnetic attraction or repulsion.

param opt- Options for the point effector component. See

returns The point effector comp.

since v3001.0

group Components

kaplay logo

Layer

Miscalenous