Rename rigid-body static to fixed

This commit is contained in:
Sébastien Crozet
2022-03-19 16:23:09 +01:00
committed by Sébastien Crozet
parent db6a8c526d
commit a9e3441ecd
87 changed files with 284 additions and 271 deletions

View File

@@ -22,7 +22,7 @@ pub fn init_world(testbed: &mut Testbed) {
let (x, y) = (i as f32 * subdiv * std::f32::consts::PI * 2.0).sin_cos();
// Build the rigid body.
let rb = RigidBodyBuilder::new_dynamic()
let rb = RigidBodyBuilder::dynamic()
.translation(vector![x, y, 0.0])
.linvel(vector![x * 10.0, y * 10.0, 0.0])
.angvel(Vector::z() * 100.0)