audio manager, console plugin fixes, demo view angle verifications
This commit is contained in:
@@ -30,8 +30,8 @@ namespace Game
|
||||
|
||||
public override void OnUpdate()
|
||||
{
|
||||
// Collect anything framerate independent here like camera movement
|
||||
// All axis values here should be accumulated, and binary actions OR'ed
|
||||
// Collect all input here
|
||||
// All axis values here should be accumulated
|
||||
currentState.input.viewDeltaX += InputManager.GetAxisRaw("Mouse X");
|
||||
currentState.input.viewDeltaY += InputManager.GetAxisRaw("Mouse Y");
|
||||
|
||||
@@ -43,11 +43,6 @@ namespace Game
|
||||
|
||||
public override void OnFixedUpdate()
|
||||
{
|
||||
// Collect all input here
|
||||
/*currentState.input.moveForward = InputManager.GetAxis("Vertical");
|
||||
currentState.input.moveRight = InputManager.GetAxis("Horizontal");
|
||||
currentState.input.attacking = InputManager.GetAction("Attack");
|
||||
currentState.input.jumping = InputManager.GetAction("Jump");*/
|
||||
}
|
||||
|
||||
public override void OnEndFrame()
|
||||
@@ -55,8 +50,9 @@ namespace Game
|
||||
if (IsRecording)
|
||||
{
|
||||
currentState.input.verificationPosition = currentState.actor.position;
|
||||
currentState.input.verificationOrientation = currentState.actor.orientation;
|
||||
currentState.input.verificationVelocity = currentState.actor.velocity;
|
||||
currentState.input.verificationViewAngles = currentState.actor.viewAngles;
|
||||
currentState.input.verificationOrientation = currentState.actor.orientation;
|
||||
|
||||
currentState.input.frame = frame;
|
||||
buffer.Add(currentState.input);
|
||||
|
||||
Reference in New Issue
Block a user