An easy to use Unity 3D library for creating illustrated Interactive Fiction games and more.
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.

28 lines
775 B

# Rigidbody2D commands # {#rigidbody2d_commands}
[TOC]
# AddForce2D # {#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 # {#AddTorque2D}
Add Torque to a Rigidbody2D
Defined in Fungus.AddTorque2D
Property | Type | Description
--- | --- | ---
Force | Fungus.FloatData | Amount of torque to be added
# StopMotion2D # {#StopMotion2D}
Stop velocity and angular velocity on a Rigidbody2D
Defined in Fungus.StopMotionRigidBody2D