Replies: 2 comments
-
let force_at_point = ExternalForce {
force: your_force,
torque: your_torque.cross(world_space_point_of_application - rigid_body_position)
} This assumes that |
Beta Was this translation helpful? Give feedback.
0 replies
-
As of bevy_rapier 0.17.0 there is |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Following my X shape test bevyengine/bevy#5698, where I use an X shape GLTF Blender mesh as a Collision shape, I now want to apply forces to one of the ends of the X shape. I couldn't find anything about forces.
I think first I need to learn how to mark the points where I'll apply the force. I don't know if it's possible to do it in Blender and then use in bevy_rapier.
Then I need to learn how to load these points in bevy and apply the force on one of these points
Beta Was this translation helpful? Give feedback.
All reactions