Scripting API

SurfaceEffector2D

class in UnityEngine · UnityEngine.Physics2DModule · inherits from Effector2D

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

A conveyor surface: after each step, bodies touching it move toward its speed along it by forceScale of the difference (friction has acted by then); without friction or bounce, its contacts have none.

Properties 6

float forceScale { get; set; }
float speed { get; set; }
float speedVariation { get; set; }
bool useBounce { get; set; }
bool useContactForce { get; set; }
bool useFriction { get; set; }

Checked against Unity

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