feat: migrate to glam whenever relevant + migrate testbed to kiss3d instead of bevy + release v0.32.0 (#909)

* feat: migrate to glam whenever relevant + migrate testbed to kiss3d instead of bevy

* chore: update changelog

* Fix warnings and tests

* Release v0.32.0
This commit is contained in:
Sébastien Crozet
2026-01-09 17:26:36 +01:00
committed by GitHub
parent 48de83817e
commit 0b7c3b34ec
265 changed files with 8501 additions and 8575 deletions

View File

@@ -10,21 +10,21 @@ pub fn init_world(testbed: &mut Testbed) {
let multibody_joints = MultibodyJointSet::new();
let shapes = vec![
(Isometry::identity(), SharedShape::cuboid(2.0, 0.2, 0.2)),
(Pose::IDENTITY, SharedShape::cuboid(2.0, 0.2, 0.2)),
(
Isometry::translation(0.0, 0.8, 0.0),
Pose::from_translation(Vector::new(0.0, 0.8, 0.0)),
SharedShape::cuboid(0.2, 0.4, 0.2),
),
];
let body = RigidBodyBuilder::dynamic()
.gravity_scale(0.0)
.angvel(vector![0.0, 20.0, 0.1])
.angvel(Vector::new(0.0, 20.0, 0.1))
.gyroscopic_forces_enabled(true);
let body_handle = bodies.insert(body);
let collider = ColliderBuilder::compound(shapes);
colliders.insert_with_parent(collider, body_handle, &mut bodies);
testbed.set_world(bodies, colliders, impulse_joints, multibody_joints);
testbed.look_at(point![8.0, 0.0, 8.0], point![0.0, 0.0, 0.0]);
testbed.look_at(Vec3::new(8.0, 0.0, 8.0), Vec3::new(0.0, 0.0, 0.0));
}