We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RAPIER.init().then(() => { const gravity = { x: 0.0, y: -1000 * 5 }; this.world = new RAPIER.World(gravity); this.eventQueue = new RAPIER.EventQueue(true) this.initCallbacks = this.initCallbacks.filter(callback => { callback() return false; }) delete this.initCallbacks; resolve(null) });
const basePosition = this.node.worldPosition.clone().subtract(rootCanvas.worldPosition.clone()) this.desc = RAPIER.RigidBodyDesc.dynamic() this.desc.setTranslation(basePosition.x, basePosition.y) .lockRotations().setCcdEnabled(true); this.rigidBody = rapierSystem.world.createRigidBody(this.desc);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
test.mp4
The text was updated successfully, but these errors were encountered: