Chipmunk2D Unity Documentation | Main Page | Forum

Manual

Tutorials

API

Classes

Structs

Enumerations

ChipmunkBody.ResetForces()

function ResetForces() : void

Description

Reset the force and torque applied to a body to zero.

Sets ChipmunkBody.force to Vector2.zero and ChipmunkBody.torque to 0.