Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Components::VrGlider::DebugSnapshot Struct Reference

#include <VrGliderComponent.h>

Collaboration diagram for Engine::Components::VrGlider::DebugSnapshot:

Public Attributes

bool tickSkipped = false
bool missingHeadset = false
bool missingInputHandler = false
bool missingPhysicsBody = false
bool enabled = true
bool frozen = true
bool debugLogging = true
GliderState previousState = GliderState::FALLING
GliderState currentState = GliderState::FALLING
float leftGrip = 0.0f
float rightGrip = 0.0f
bool bothGripsPressed = false
bool bothGripsWerePressed = false
float leftTrigger = 0.0f
float rightTrigger = 0.0f
bool leftTriggerPressed = false
bool rightTriggerPressed = false
glm::vec2 rightThumbstick { 0.0f }
bool snapTurnArmed = true
bool snapTurnTriggered = false
int snapTurnDirection = 0
bool leftHandValid = false
bool rightHandValid = false
float leftHandDistance = 0.0f
float rightHandDistance = 0.0f
float leftHandCylinderDistance = 0.0f
float rightHandCylinderDistance = 0.0f
bool armsSpread = false
bool armsSpreadWithHysteresis = false
bool handsTucked = false
bool groundDetected = false
bool isNearGround = false
bool groundIsWalkable = false
bool groundYInitialized = false
float groundDistance = 9999.0f
float groundHitFraction = 1.0f
glm::vec3 groundHitPoint { 0.0f }
glm::vec3 groundHitNormal { 0.0f, 1.0f, 0.0f }
float smoothedGroundY = 0.0f
glm::vec3 playerPosition { 0.0f }
glm::vec3 headLocalPosition { 0.0f }
glm::vec3 headWorldPosition { 0.0f }
glm::vec3 headForward { 0.0f, 0.0f, -1.0f }
glm::vec3 bodyForward { 0.0f, 0.0f, -1.0f }
glm::vec3 horizontalAim { 0.0f, 0.0f, -1.0f }
glm::vec3 velocityBeforeUpdate { 0.0f }
glm::vec3 targetVelocity { 0.0f }
glm::vec3 velocityAfterUpdate { 0.0f }
glm::vec3 desiredPosition { 0.0f }
glm::vec3 physicsBodyVelocity { 0.0f }
float playerYawRadians = 0.0f
float palmTilt = 0.0f
float forwardAmount = 0.0f
float rightAmount = 0.0f
float momentum = 0.0f
float verticalVelocity = 0.0f
float climbDemand = 0.0f
float diveDemand = 0.0f
float windAlignment = 0.0f
float windMomentumDelta = 0.0f
float dragDelta = 0.0f
float climbMomentumDelta = 0.0f
float stallRecoveryTimer = 0.0f
bool isBraking = false
bool isClimbing = false
bool isDiving = false
bool isStalled = false
bool enteredStall = false
bool recoveredStall = false
World::WindSample windSample {}
glm::vec3 windContribution { 0.0f }
bool collisionTested = false
bool collisionImpact = false
bool collisionReset = false
bool takeoffArmed = true
bool takeoffRequested = false
bool takeoffBlocked = false
bool hasLastSafeLanding = false
bool respawnTriggered = false
glm::vec3 takeoffTestPosition { 0.0f }
glm::vec3 lastSafeLandingPosition { 0.0f }
glm::vec3 collisionTestPosition { 0.0f }
glm::vec3 collisionPushOut { 0.0f }
glm::vec3 collisionGroundNormal { 0.0f }
float collisionMaxPenetration = 0.0f
float landingCheckpointTimer = 0.0f
float capsuleRadius = CAPSULE_RADIUS
float capsuleCylinderHeight = CAPSULE_HALF_HEIGHT * 2.0f
float capsuleTotalHeight = CAPSULE_TOTAL_HALF * 2.0f

Detailed Description

Definition at line 109 of file VrGliderComponent.h.

Member Data Documentation

◆ armsSpread

bool Engine::Components::VrGlider::DebugSnapshot::armsSpread = false

Definition at line 142 of file VrGliderComponent.h.

◆ armsSpreadWithHysteresis

bool Engine::Components::VrGlider::DebugSnapshot::armsSpreadWithHysteresis = false

Definition at line 143 of file VrGliderComponent.h.

◆ bodyForward

glm::vec3 Engine::Components::VrGlider::DebugSnapshot::bodyForward { 0.0f, 0.0f, -1.0f }

Definition at line 160 of file VrGliderComponent.h.

◆ bothGripsPressed

bool Engine::Components::VrGlider::DebugSnapshot::bothGripsPressed = false

Definition at line 124 of file VrGliderComponent.h.

◆ bothGripsWerePressed

bool Engine::Components::VrGlider::DebugSnapshot::bothGripsWerePressed = false

Definition at line 125 of file VrGliderComponent.h.

◆ capsuleCylinderHeight

float Engine::Components::VrGlider::DebugSnapshot::capsuleCylinderHeight = CAPSULE_HALF_HEIGHT * 2.0f

Definition at line 209 of file VrGliderComponent.h.

◆ capsuleRadius

float Engine::Components::VrGlider::DebugSnapshot::capsuleRadius = CAPSULE_RADIUS

Definition at line 208 of file VrGliderComponent.h.

◆ capsuleTotalHeight

float Engine::Components::VrGlider::DebugSnapshot::capsuleTotalHeight = CAPSULE_TOTAL_HALF * 2.0f

Definition at line 210 of file VrGliderComponent.h.

◆ climbDemand

float Engine::Components::VrGlider::DebugSnapshot::climbDemand = 0.0f

Definition at line 175 of file VrGliderComponent.h.

◆ climbMomentumDelta

float Engine::Components::VrGlider::DebugSnapshot::climbMomentumDelta = 0.0f

Definition at line 180 of file VrGliderComponent.h.

◆ collisionGroundNormal

glm::vec3 Engine::Components::VrGlider::DebugSnapshot::collisionGroundNormal { 0.0f }

Definition at line 204 of file VrGliderComponent.h.

◆ collisionImpact

bool Engine::Components::VrGlider::DebugSnapshot::collisionImpact = false

Definition at line 193 of file VrGliderComponent.h.

◆ collisionMaxPenetration

float Engine::Components::VrGlider::DebugSnapshot::collisionMaxPenetration = 0.0f

Definition at line 205 of file VrGliderComponent.h.

◆ collisionPushOut

glm::vec3 Engine::Components::VrGlider::DebugSnapshot::collisionPushOut { 0.0f }

Definition at line 203 of file VrGliderComponent.h.

◆ collisionReset

bool Engine::Components::VrGlider::DebugSnapshot::collisionReset = false

Definition at line 194 of file VrGliderComponent.h.

◆ collisionTested

bool Engine::Components::VrGlider::DebugSnapshot::collisionTested = false

Definition at line 192 of file VrGliderComponent.h.

◆ collisionTestPosition

glm::vec3 Engine::Components::VrGlider::DebugSnapshot::collisionTestPosition { 0.0f }

Definition at line 202 of file VrGliderComponent.h.

◆ currentState

GliderState Engine::Components::VrGlider::DebugSnapshot::currentState = GliderState::FALLING

Definition at line 120 of file VrGliderComponent.h.

◆ debugLogging

bool Engine::Components::VrGlider::DebugSnapshot::debugLogging = true

Definition at line 118 of file VrGliderComponent.h.

◆ desiredPosition

glm::vec3 Engine::Components::VrGlider::DebugSnapshot::desiredPosition { 0.0f }

Definition at line 166 of file VrGliderComponent.h.

◆ diveDemand

float Engine::Components::VrGlider::DebugSnapshot::diveDemand = 0.0f

Definition at line 176 of file VrGliderComponent.h.

◆ dragDelta

float Engine::Components::VrGlider::DebugSnapshot::dragDelta = 0.0f

Definition at line 179 of file VrGliderComponent.h.

◆ enabled

bool Engine::Components::VrGlider::DebugSnapshot::enabled = true

Definition at line 116 of file VrGliderComponent.h.

◆ enteredStall

bool Engine::Components::VrGlider::DebugSnapshot::enteredStall = false

Definition at line 186 of file VrGliderComponent.h.

◆ forwardAmount

float Engine::Components::VrGlider::DebugSnapshot::forwardAmount = 0.0f

Definition at line 171 of file VrGliderComponent.h.

◆ frozen

bool Engine::Components::VrGlider::DebugSnapshot::frozen = true

Definition at line 117 of file VrGliderComponent.h.

◆ groundDetected

bool Engine::Components::VrGlider::DebugSnapshot::groundDetected = false

Definition at line 146 of file VrGliderComponent.h.

◆ groundDistance

float Engine::Components::VrGlider::DebugSnapshot::groundDistance = 9999.0f

Definition at line 150 of file VrGliderComponent.h.

◆ groundHitFraction

float Engine::Components::VrGlider::DebugSnapshot::groundHitFraction = 1.0f

Definition at line 151 of file VrGliderComponent.h.

◆ groundHitNormal

glm::vec3 Engine::Components::VrGlider::DebugSnapshot::groundHitNormal { 0.0f, 1.0f, 0.0f }

Definition at line 153 of file VrGliderComponent.h.

◆ groundHitPoint

glm::vec3 Engine::Components::VrGlider::DebugSnapshot::groundHitPoint { 0.0f }

Definition at line 152 of file VrGliderComponent.h.

◆ groundIsWalkable

bool Engine::Components::VrGlider::DebugSnapshot::groundIsWalkable = false

Definition at line 148 of file VrGliderComponent.h.

◆ groundYInitialized

bool Engine::Components::VrGlider::DebugSnapshot::groundYInitialized = false

Definition at line 149 of file VrGliderComponent.h.

◆ handsTucked

bool Engine::Components::VrGlider::DebugSnapshot::handsTucked = false

Definition at line 144 of file VrGliderComponent.h.

◆ hasLastSafeLanding

bool Engine::Components::VrGlider::DebugSnapshot::hasLastSafeLanding = false

Definition at line 198 of file VrGliderComponent.h.

◆ headForward

glm::vec3 Engine::Components::VrGlider::DebugSnapshot::headForward { 0.0f, 0.0f, -1.0f }

Definition at line 159 of file VrGliderComponent.h.

◆ headLocalPosition

glm::vec3 Engine::Components::VrGlider::DebugSnapshot::headLocalPosition { 0.0f }

Definition at line 157 of file VrGliderComponent.h.

◆ headWorldPosition

glm::vec3 Engine::Components::VrGlider::DebugSnapshot::headWorldPosition { 0.0f }

Definition at line 158 of file VrGliderComponent.h.

◆ horizontalAim

glm::vec3 Engine::Components::VrGlider::DebugSnapshot::horizontalAim { 0.0f, 0.0f, -1.0f }

Definition at line 161 of file VrGliderComponent.h.

◆ isBraking

bool Engine::Components::VrGlider::DebugSnapshot::isBraking = false

Definition at line 182 of file VrGliderComponent.h.

◆ isClimbing

bool Engine::Components::VrGlider::DebugSnapshot::isClimbing = false

Definition at line 183 of file VrGliderComponent.h.

◆ isDiving

bool Engine::Components::VrGlider::DebugSnapshot::isDiving = false

Definition at line 184 of file VrGliderComponent.h.

◆ isNearGround

bool Engine::Components::VrGlider::DebugSnapshot::isNearGround = false

Definition at line 147 of file VrGliderComponent.h.

◆ isStalled

bool Engine::Components::VrGlider::DebugSnapshot::isStalled = false

Definition at line 185 of file VrGliderComponent.h.

◆ landingCheckpointTimer

float Engine::Components::VrGlider::DebugSnapshot::landingCheckpointTimer = 0.0f

Definition at line 206 of file VrGliderComponent.h.

◆ lastSafeLandingPosition

glm::vec3 Engine::Components::VrGlider::DebugSnapshot::lastSafeLandingPosition { 0.0f }

Definition at line 201 of file VrGliderComponent.h.

◆ leftGrip

float Engine::Components::VrGlider::DebugSnapshot::leftGrip = 0.0f

Definition at line 122 of file VrGliderComponent.h.

◆ leftHandCylinderDistance

float Engine::Components::VrGlider::DebugSnapshot::leftHandCylinderDistance = 0.0f

Definition at line 140 of file VrGliderComponent.h.

◆ leftHandDistance

float Engine::Components::VrGlider::DebugSnapshot::leftHandDistance = 0.0f

Definition at line 138 of file VrGliderComponent.h.

◆ leftHandValid

bool Engine::Components::VrGlider::DebugSnapshot::leftHandValid = false

Definition at line 136 of file VrGliderComponent.h.

◆ leftTrigger

float Engine::Components::VrGlider::DebugSnapshot::leftTrigger = 0.0f

Definition at line 127 of file VrGliderComponent.h.

◆ leftTriggerPressed

bool Engine::Components::VrGlider::DebugSnapshot::leftTriggerPressed = false

Definition at line 129 of file VrGliderComponent.h.

◆ missingHeadset

bool Engine::Components::VrGlider::DebugSnapshot::missingHeadset = false

Definition at line 112 of file VrGliderComponent.h.

◆ missingInputHandler

bool Engine::Components::VrGlider::DebugSnapshot::missingInputHandler = false

Definition at line 113 of file VrGliderComponent.h.

◆ missingPhysicsBody

bool Engine::Components::VrGlider::DebugSnapshot::missingPhysicsBody = false

Definition at line 114 of file VrGliderComponent.h.

◆ momentum

float Engine::Components::VrGlider::DebugSnapshot::momentum = 0.0f

Definition at line 173 of file VrGliderComponent.h.

◆ palmTilt

float Engine::Components::VrGlider::DebugSnapshot::palmTilt = 0.0f

Definition at line 170 of file VrGliderComponent.h.

◆ physicsBodyVelocity

glm::vec3 Engine::Components::VrGlider::DebugSnapshot::physicsBodyVelocity { 0.0f }

Definition at line 167 of file VrGliderComponent.h.

◆ playerPosition

glm::vec3 Engine::Components::VrGlider::DebugSnapshot::playerPosition { 0.0f }

Definition at line 156 of file VrGliderComponent.h.

◆ playerYawRadians

float Engine::Components::VrGlider::DebugSnapshot::playerYawRadians = 0.0f

Definition at line 169 of file VrGliderComponent.h.

◆ previousState

GliderState Engine::Components::VrGlider::DebugSnapshot::previousState = GliderState::FALLING

Definition at line 119 of file VrGliderComponent.h.

◆ recoveredStall

bool Engine::Components::VrGlider::DebugSnapshot::recoveredStall = false

Definition at line 187 of file VrGliderComponent.h.

◆ respawnTriggered

bool Engine::Components::VrGlider::DebugSnapshot::respawnTriggered = false

Definition at line 199 of file VrGliderComponent.h.

◆ rightAmount

float Engine::Components::VrGlider::DebugSnapshot::rightAmount = 0.0f

Definition at line 172 of file VrGliderComponent.h.

◆ rightGrip

float Engine::Components::VrGlider::DebugSnapshot::rightGrip = 0.0f

Definition at line 123 of file VrGliderComponent.h.

◆ rightHandCylinderDistance

float Engine::Components::VrGlider::DebugSnapshot::rightHandCylinderDistance = 0.0f

Definition at line 141 of file VrGliderComponent.h.

◆ rightHandDistance

float Engine::Components::VrGlider::DebugSnapshot::rightHandDistance = 0.0f

Definition at line 139 of file VrGliderComponent.h.

◆ rightHandValid

bool Engine::Components::VrGlider::DebugSnapshot::rightHandValid = false

Definition at line 137 of file VrGliderComponent.h.

◆ rightThumbstick

glm::vec2 Engine::Components::VrGlider::DebugSnapshot::rightThumbstick { 0.0f }

Definition at line 131 of file VrGliderComponent.h.

◆ rightTrigger

float Engine::Components::VrGlider::DebugSnapshot::rightTrigger = 0.0f

Definition at line 128 of file VrGliderComponent.h.

◆ rightTriggerPressed

bool Engine::Components::VrGlider::DebugSnapshot::rightTriggerPressed = false

Definition at line 130 of file VrGliderComponent.h.

◆ smoothedGroundY

float Engine::Components::VrGlider::DebugSnapshot::smoothedGroundY = 0.0f

Definition at line 154 of file VrGliderComponent.h.

◆ snapTurnArmed

bool Engine::Components::VrGlider::DebugSnapshot::snapTurnArmed = true

Definition at line 132 of file VrGliderComponent.h.

◆ snapTurnDirection

int Engine::Components::VrGlider::DebugSnapshot::snapTurnDirection = 0

Definition at line 134 of file VrGliderComponent.h.

◆ snapTurnTriggered

bool Engine::Components::VrGlider::DebugSnapshot::snapTurnTriggered = false

Definition at line 133 of file VrGliderComponent.h.

◆ stallRecoveryTimer

float Engine::Components::VrGlider::DebugSnapshot::stallRecoveryTimer = 0.0f

Definition at line 181 of file VrGliderComponent.h.

◆ takeoffArmed

bool Engine::Components::VrGlider::DebugSnapshot::takeoffArmed = true

Definition at line 195 of file VrGliderComponent.h.

◆ takeoffBlocked

bool Engine::Components::VrGlider::DebugSnapshot::takeoffBlocked = false

Definition at line 197 of file VrGliderComponent.h.

◆ takeoffRequested

bool Engine::Components::VrGlider::DebugSnapshot::takeoffRequested = false

Definition at line 196 of file VrGliderComponent.h.

◆ takeoffTestPosition

glm::vec3 Engine::Components::VrGlider::DebugSnapshot::takeoffTestPosition { 0.0f }

Definition at line 200 of file VrGliderComponent.h.

◆ targetVelocity

glm::vec3 Engine::Components::VrGlider::DebugSnapshot::targetVelocity { 0.0f }

Definition at line 164 of file VrGliderComponent.h.

◆ tickSkipped

bool Engine::Components::VrGlider::DebugSnapshot::tickSkipped = false

Definition at line 111 of file VrGliderComponent.h.

◆ velocityAfterUpdate

glm::vec3 Engine::Components::VrGlider::DebugSnapshot::velocityAfterUpdate { 0.0f }

Definition at line 165 of file VrGliderComponent.h.

◆ velocityBeforeUpdate

glm::vec3 Engine::Components::VrGlider::DebugSnapshot::velocityBeforeUpdate { 0.0f }

Definition at line 163 of file VrGliderComponent.h.

◆ verticalVelocity

float Engine::Components::VrGlider::DebugSnapshot::verticalVelocity = 0.0f

Definition at line 174 of file VrGliderComponent.h.

◆ windAlignment

float Engine::Components::VrGlider::DebugSnapshot::windAlignment = 0.0f

Definition at line 177 of file VrGliderComponent.h.

◆ windContribution

glm::vec3 Engine::Components::VrGlider::DebugSnapshot::windContribution { 0.0f }

Definition at line 190 of file VrGliderComponent.h.

◆ windMomentumDelta

float Engine::Components::VrGlider::DebugSnapshot::windMomentumDelta = 0.0f

Definition at line 178 of file VrGliderComponent.h.

◆ windSample

World::WindSample Engine::Components::VrGlider::DebugSnapshot::windSample {}

Definition at line 189 of file VrGliderComponent.h.


The documentation for this struct was generated from the following file: