A Demo Project for the UnrealEngineSDK
|
#include "VRCharacterMovementComponent.h"
#include "GameFramework/PhysicsVolume.h"
#include "GameFramework/GameNetworkManager.h"
#include "GameFramework/Character.h"
#include "GameFramework/GameState.h"
#include "Components/PrimitiveComponent.h"
#include "Animation/AnimMontage.h"
#include "DrawDebugHelpers.h"
#include "VRCharacter.h"
#include "VRExpansionFunctionLibrary.h"
#include "Navigation/PathFollowingComponent.h"
#include "AI/Navigation/AvoidanceManager.h"
#include "Components/CapsuleComponent.h"
#include "Components/BrushComponent.h"
#include "Engine/DemoNetDriver.h"
#include "Engine/NetworkObjectList.h"
Go to the source code of this file.
Namespaces | |
namespace | CharacterMovementComponentStatics |
Macros | |
#define | devCodeVR(...) |
Functions | |
FAutoConsoleVariableRef | CharacterMovementComponentStatics::CVarRotationCorrectionThreshold (TEXT("vre.RotationCorrectionThreshold"), fRotationCorrectionThreshold, TEXT("Rotation is replicated at 2 decimal precision, so values less than 0.01 won't matter."), ECVF_Default) |
DECLARE_CYCLE_STAT (TEXT("Char AdjustFloorHeight"), STAT_CharAdjustFloorHeight, STATGROUP_Character) | |
DECLARE_CYCLE_STAT (TEXT("Char CallServerMove"), STAT_CharacterMovementCallServerMove, STATGROUP_Character) | |
DECLARE_CYCLE_STAT (TEXT("Char CombineNetMove"), STAT_CharacterMovementCombineNetMove, STATGROUP_Character) | |
DECLARE_CYCLE_STAT (TEXT("Char FindFloor"), STAT_CharFindFloor, STATGROUP_Character) | |
DECLARE_CYCLE_STAT (TEXT("Char NavProjectLocation"), STAT_CharNavProjectLocation, STATGROUP_Character) | |
DECLARE_CYCLE_STAT (TEXT("Char NavProjectPoint"), STAT_CharNavProjectPoint, STATGROUP_Character) | |
DECLARE_CYCLE_STAT (TEXT("Char PhysFalling"), STAT_CharPhysFalling, STATGROUP_Character) | |
DECLARE_CYCLE_STAT (TEXT("Char PhysNavWalking"), STAT_CharPhysNavWalking, STATGROUP_Character) | |
DECLARE_CYCLE_STAT (TEXT("Char PhysWalking"), STAT_CharPhysWalking, STATGROUP_Character) | |
DECLARE_CYCLE_STAT (TEXT("Char ProcessLanded"), STAT_CharProcessLanded, STATGROUP_Character) | |
DECLARE_CYCLE_STAT (TEXT("Char ReplicateMoveToServer"), STAT_CharacterMovementReplicateMoveToServer, STATGROUP_Character) | |
DECLARE_CYCLE_STAT (TEXT("Char StepUp"), STAT_CharStepUp, STATGROUP_Character) | |
DEFINE_LOG_CATEGORY (LogVRCharacterMovement) | |
Variables | |
static const FName | CharacterMovementComponentStatics::CrouchTraceName = FName(TEXT("CrouchTrace")) |
static float | CharacterMovementComponentStatics::fRotationCorrectionThreshold = 0.02f |
static const FName | CharacterMovementComponentStatics::ImmersionDepthName = FName(TEXT("MovementComp_Character_ImmersionDepth")) |
const float | MAX_STEP_SIDE_Z = 0.08f |
const float | SWIMBOBSPEED = -80.f |
const float | VERTICAL_SLOPE_NORMAL_Z = 0.001f |
#define devCodeVR | ( | ... | ) |
Definition at line 59 of file VRCharacterMovementComponent.cpp.
DECLARE_CYCLE_STAT | ( | TEXT("Char AdjustFloorHeight") | , |
STAT_CharAdjustFloorHeight | , | ||
STATGROUP_Character | ) |
DECLARE_CYCLE_STAT | ( | TEXT("Char CallServerMove") | , |
STAT_CharacterMovementCallServerMove | , | ||
STATGROUP_Character | ) |
DECLARE_CYCLE_STAT | ( | TEXT("Char CombineNetMove") | , |
STAT_CharacterMovementCombineNetMove | , | ||
STATGROUP_Character | ) |
DECLARE_CYCLE_STAT | ( | TEXT("Char FindFloor") | , |
STAT_CharFindFloor | , | ||
STATGROUP_Character | ) |
DECLARE_CYCLE_STAT | ( | TEXT("Char NavProjectLocation") | , |
STAT_CharNavProjectLocation | , | ||
STATGROUP_Character | ) |
DECLARE_CYCLE_STAT | ( | TEXT("Char NavProjectPoint") | , |
STAT_CharNavProjectPoint | , | ||
STATGROUP_Character | ) |
DECLARE_CYCLE_STAT | ( | TEXT("Char PhysFalling") | , |
STAT_CharPhysFalling | , | ||
STATGROUP_Character | ) |
DECLARE_CYCLE_STAT | ( | TEXT("Char PhysNavWalking") | , |
STAT_CharPhysNavWalking | , | ||
STATGROUP_Character | ) |
DECLARE_CYCLE_STAT | ( | TEXT("Char PhysWalking") | , |
STAT_CharPhysWalking | , | ||
STATGROUP_Character | ) |
DECLARE_CYCLE_STAT | ( | TEXT("Char ProcessLanded") | , |
STAT_CharProcessLanded | , | ||
STATGROUP_Character | ) |
DECLARE_CYCLE_STAT | ( | TEXT("Char ReplicateMoveToServer") | , |
STAT_CharacterMovementReplicateMoveToServer | , | ||
STATGROUP_Character | ) |
DECLARE_CYCLE_STAT | ( | TEXT("Char StepUp") | , |
STAT_CharStepUp | , | ||
STATGROUP_Character | ) |
Character stats
DEFINE_LOG_CATEGORY | ( | LogVRCharacterMovement | ) |
const float MAX_STEP_SIDE_Z = 0.08f |
Definition at line 51 of file VRCharacterMovementComponent.cpp.
const float SWIMBOBSPEED = -80.f |
Definition at line 52 of file VRCharacterMovementComponent.cpp.
const float VERTICAL_SLOPE_NORMAL_Z = 0.001f |
Definition at line 53 of file VRCharacterMovementComponent.cpp.