Add air direction only setting for player movement
This commit is contained in:
@@ -65,6 +65,7 @@ function cloneRuntimePlayerMovement(
|
||||
maxHoldMs: movement.jump.maxHoldMs,
|
||||
moveWhileJumping: movement.jump.moveWhileJumping,
|
||||
moveWhileFalling: movement.jump.moveWhileFalling,
|
||||
directionOnly: movement.jump.directionOnly,
|
||||
bunnyHop: movement.jump.bunnyHop,
|
||||
bunnyHopBoost: movement.jump.bunnyHopBoost
|
||||
},
|
||||
@@ -313,6 +314,7 @@ export class FirstPersonNavigationController implements NavigationController {
|
||||
dt,
|
||||
feetPosition: this.feetPosition,
|
||||
movementYawRadians: this.yawRadians,
|
||||
airDirectionYawRadians: this.yawRadians,
|
||||
standingShape: this.standingPlayerShape,
|
||||
verticalVelocity: this.verticalVelocity,
|
||||
previousLocomotionState: this.locomotionState,
|
||||
|
||||
Reference in New Issue
Block a user