add 0.1 meters of trail to front wheel.

This commit is contained in:
Joe Ardent 2023-02-18 20:35:05 -08:00
parent 9e45aef7e4
commit 3d2d413946

View file

@ -96,7 +96,8 @@ pub fn spawn_tires(
.id();
let axel_parent_entity = if let Some(steering) = steering {
let neck_builder = RevoluteJointBuilder::new(Vec3::Y);
let neck_builder =
RevoluteJointBuilder::new(Vec3::Y).local_anchor1(Vec3::new(0.0, 0.0, 0.1));
let neck_joint = MultibodyJoint::new(fork_rb_entity, neck_builder);
let neck = commands
.spawn(RigidBody::Dynamic)