New issue
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
setPhysicsState #209
Comments
this is the regular behavior. To move a physics object you can use mesh.applyImpluse |
I use that too but how do you make sure the object stops at a certain location. When you set the location, it determines the final location where in apply impulse you define the initial forces. Do I need to do physics calculations to find out where it will stop. Let's say I want to put a rock back to the top of the hill after it rolled down the hill. |
Not directly into Babylon.js. But if you find a way to do that with cannon.js I would be pleased to add it |
@Junken u can use setPhysicsState(BABYLON.PhysicsEngine.NoImpostor); |
Once I use setPhysicsState , I can not move the object anymore by changing object.position.x,y,z.
The text was updated successfully, but these errors were encountered: