Questions tagged [rapier-3d]
2 questions
0
votes
0 answers
Cannot wake up RigidBody after gravity change
I have a cube that is supposed to be floating (gravity set to 0). After an event, the cube is supposed to "fall down" (gravity set to 1). I know that the RigidBody is asleep when gravity is set to 0, so I am trying to wake it up by applying an…

user2393256
- 1,001
- 1
- 15
- 26
0
votes
1 answer
How to connect a sphere to a rigid body with rapier 0.17.0?
I would like to connect my sphere to a rigid body, how would I do that with rapier?
fn main() {
let position = Point3::new(0.0, 0.0, 0.0);
let sphere = BoundingSphere::new(position, 100.0);
let rigid_body = RigidBodyBuilder::fixed();
//…

kemicofa ghost
- 16,349
- 8
- 82
- 131