Chipmunk2D Unity Documentation | Main Page | Forum

Manual

Tutorials

API

Classes

Structs

Enumerations

Chipmunk.UpdatedTransform()

static function UpdatedTransform(root : GameObject) : void

Parameters


rootThe root GameObject in the hierarchy to update.

Description

Let Chipmunk know that you updated a Unity transform.

Unity doesn't provide notification events when a transform is modified. That means you must to call this to let Chipmunk know when you modify a transform and want the Chipmunk objects under it to be updated.