pointEffector(opt: PointEffectorCompOpt): PointEffectorComp

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

paramopt- Options for the point effector component. See

returnsThe point effector comp.

sincev3001.0

kaplay logo

Misc

Layer