diff --git a/cocos/3d/framework/physics/body.ts b/cocos/3d/framework/physics/body.ts index 9f833163c5..f183d680f9 100644 --- a/cocos/3d/framework/physics/body.ts +++ b/cocos/3d/framework/physics/body.ts @@ -52,6 +52,7 @@ export class PhysicsBody { public bind(node: Node) { this._node = node; + this.pullTransform(); } public destroy() { @@ -59,6 +60,8 @@ export class PhysicsBody { } public _onAdded() { + this.pullTransform(); + this._onWorldBeforeStepListener = this._onWorldBeforeStep.bind(this); this._cannonBody.world.addEventListener('beforeStep', this._onWorldBeforeStepListener);