protected override void Awake() { if (_handle != IntPtr.Zero) { return; } // Debug.Log ("ChipmunkBody Awake: " + gameObject.name); _handle = CP.cpBodyNew(0f, 0f); var gch = GCHandle.Alloc(this); CP._cpBodySetUserData(_handle, GCHandle.ToIntPtr(gch)); _UpdatedTransform(); }