You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
775 B
775 B
Rigidbody2D commands
[TOC]
AddForce2D
Add force to a Rigidbody2D
Defined in Fungus.AddForce2D
Property | Type | Description |
---|---|---|
Force | Fungus.Vector2Data | Vector of force to be added |
Force Scale Factor | Fungus.FloatData | Scale factor to be applied to force as it is used. |
At Position | Fungus.Vector2Data | World position the force is being applied from. Used only in AddForceAtPosition |
AddTorque2D
Add Torque to a Rigidbody2D
Defined in Fungus.AddTorque2D
Property | Type | Description |
---|---|---|
Force | Fungus.FloatData | Amount of torque to be added |
StopMotion2D
Stop velocity and angular velocity on a Rigidbody2D
Defined in Fungus.StopMotionRigidBody2D