Function

areaEffector

(opt: AreaEffectorCompOpt): AreaEffectorComp

Applies a force on a colliding object. Good to apply anti-gravity, wind or water flow.

param opt - Options for the area effector component. See AreaEffectorCompOpt.

returns The area effector comp.

since v3001.0

group Components

kaplay logo

Layer

Miscellaneous