Scripting API

AreaEffector2D

class in UnityEngine · UnityEngine.Physics2DModule · inherits from Effector2D

8 of 8 of Unity's membersUnity's documentation
In Tassix

A force in one direction on the bodies in its area (at their centers of mass, or at their colliders' centers), with damping while inside.

Properties 9

float angularDamping { get; set; }
float angularDrag { get; set; }
float drag { get; set; }
float forceAngle { get; set; }
float forceMagnitude { get; set; }
EffectorSelection2D forceTarget { get; set; }
float forceVariation { get; set; }
float linearDamping { get; set; }
bool useGlobalAngle { get; set; }

Checked against Unity

Conformance scenarios that exercise it, recorded in Unity and compared event by event.