add 0.1 meters of trail to front wheel.
This commit is contained in:
parent
9e45aef7e4
commit
3d2d413946
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue