testbed: add gravity control + character controller speed control (#822)
This commit is contained in:
@@ -187,7 +187,7 @@ pub fn init_world(testbed: &mut Testbed) {
|
||||
/*
|
||||
* Callback to update the character based on user inputs.
|
||||
*/
|
||||
let mut control_mode = CharacterControlMode::Kinematic;
|
||||
let mut control_mode = CharacterControlMode::Kinematic(0.1);
|
||||
let mut controller = KinematicCharacterController {
|
||||
max_slope_climb_angle: impossible_slope_angle - 0.02,
|
||||
min_slope_slide_angle: impossible_slope_angle - 0.02,
|
||||
|
||||
Reference in New Issue
Block a user