Commit dbd4db80 authored by Vũ Gia Vương's avatar Vũ Gia Vương

add present

parent 5c48ef06
This diff is collapsed.
......@@ -18,9 +18,11 @@ export default class BehindFragment extends cc.Component {
}
public onDrop() {
this._rg.type = cc.RigidBodyType.Dynamic;
this._rg.gravityScale = 10;
this._physicsCollider.enabled = true;
this.scheduleOnce(() => {
this._rg.type = cc.RigidBodyType.Dynamic;
this._rg.gravityScale = 10;
this._physicsCollider.enabled = true;
}, 1.1);
}
public reset() {
......
{
"last-module-event-record-time": 1743246331454
"last-module-event-record-time": 1745838037290
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment