-
Notifications
You must be signed in to change notification settings - Fork 44
Document how to access rapier's RigidBody and RigidBodyBuilder methods #43
Comments
Yes, I aggree it isn't well documented. I'll write something about that. In short:
With that you should be able to get and manipulate the bodies from the |
How would one access the |
For now you have to use rapier directly. So basically, call Then if you want to have heron to be aware of theses manually created rapier entities (so that you can use heron's
Thanks for sharing the use-case 😊. I created an issue to provide first-class support of axis-locking: #53 |
How would one create a /// Components automatically register, by the plugin that references the body in rapier's world
///
/// It can be used to get direct access to rapier's world.
#[derive(Debug, Copy, Clone)]
pub struct BodyHandle {
rigid_body: RigidBodyHandle,
collider: ColliderHandle,
} I've tried directly creating the struct, but the fields are private and I can't set them. |
Ah, oups, sorry. I'll fix that. |
I did make a #54, waiting for the Clippy to finish. |
By easy to set or well documented exposure of i.e. mass_properties or external forces (at point) the user can do full fledged flight/boat simulation from the get go.
The text was updated successfully, but these errors were encountered: