-
Notifications
You must be signed in to change notification settings - Fork 563
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
Ho to move a kinematic rigid body with mouse with Vector3 #392
Comments
Are you asking how to set up kinematic bodies? (If you don't know about kinematic bodies in Ammo, the PlayCanvas docs have some info). The PlayCanvas engine codebase shows how kinematic bodies are set up. Ideally, you should ensure the body is configured as follows:
|
Thaks for the links - sadly I can't quite find any answers to my problem in those above.. I am trying to achieve something that in my mind seems fairly simple - I have a softbody object anchored in space i would to be able to swipe or hit with my mouse, and it to respond to this. My thinking here is to have a rigidbox ball be moved around with the mouse, which you can then use to 'hit' the softbody with. Currently I have a rigib body ball moving around with the mouse, but it doesnt affect any softbody objects in the scene....
|
|
Hello,
I am working in THREE.JS with the ammo.js port, and can not figure out ow to go above apply simply XYZ postiion transformaitons to a rigidbody that i woul dliek to use to hit other soft bodies.
Is there are example or documentaiton on how to do with with X Y Z mouse input?
The text was updated successfully, but these errors were encountered: