We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f31343 commit 64f11aaCopy full SHA for 64f11aa
crates/avian3d/examples/joint_motors_3d.rs
@@ -236,10 +236,10 @@ fn control_motors(
236
237
// Position-controlled prismatic joint motor
238
if keyboard.just_pressed(KeyCode::KeyW) {
239
- prismatic_motors.motor.target_position += 25.0;
+ prismatic_motors.motor.target_position += 0.5;
240
}
241
if keyboard.just_pressed(KeyCode::KeyS) {
242
- prismatic_motors.motor.target_position -= 25.0;
+ prismatic_motors.motor.target_position -= 0.5;
243
244
245
// Toggle motors on/off
0 commit comments