tune flying controls (#44)
This commit is contained in:
@@ -188,7 +188,7 @@ const RUNNING_MOVEMENT_CONFIG: MovementConfig = MovementConfig {
|
|||||||
const FLYING_MOVEMENT_CONFIG: MovementConfig = MovementConfig {
|
const FLYING_MOVEMENT_CONFIG: MovementConfig = MovementConfig {
|
||||||
movement: CharacterMovement {
|
movement: CharacterMovement {
|
||||||
target_speed: 20.0,
|
target_speed: 20.0,
|
||||||
acceleration: 50.0,
|
acceleration: 300.0,
|
||||||
},
|
},
|
||||||
step: SteppingConfig {
|
step: SteppingConfig {
|
||||||
max_height: 0.25,
|
max_height: 0.25,
|
||||||
@@ -201,7 +201,7 @@ const FLYING_MOVEMENT_CONFIG: MovementConfig = MovementConfig {
|
|||||||
},
|
},
|
||||||
gravity: CharacterGravity(Vec3::ZERO),
|
gravity: CharacterGravity(Vec3::ZERO),
|
||||||
friction: CharacterFriction(0.0),
|
friction: CharacterFriction(0.0),
|
||||||
drag: CharacterDrag(1.0),
|
drag: CharacterDrag(10.0),
|
||||||
settings: ControllerSettings {
|
settings: ControllerSettings {
|
||||||
jump_force: 0.0,
|
jump_force: 0.0,
|
||||||
deceleration_factor: 0.0,
|
deceleration_factor: 0.0,
|
||||||
|
|||||||
Reference in New Issue
Block a user