#include "GripMotionControllerComponent.h"
#include "IHeadMountedDisplay.h"
#include "HeadMountedDisplayTypes.h"
#include "Misc/ScopeLock.h"
#include "Net/UnrealNetwork.h"
#include "PrimitiveSceneInfo.h"
#include "Engine/World.h"
#include "GameFramework/WorldSettings.h"
#include "IXRSystemAssets.h"
#include "Components/StaticMeshComponent.h"
#include "MotionDelayBuffer.h"
#include "UObject/VRObjectVersion.h"
#include "UObject/UObjectGlobals.h"
#include "IXRTrackingSystem.h"
#include "DrawDebugHelpers.h"
#include "TimerManager.h"
#include "VRBaseCharacter.h"
#include "GripScripts/GS_Default.h"
#include "GripScripts/GS_LerpToHand.h"
#include "PhysicsPublic.h"
#include "PhysicsEngine/BodySetup.h"
#include "PhysicsEngine/ConstraintDrives.h"
#include "PhysicsReplication.h"
#include "Misc/CollisionIgnoreSubsystem.h"
#include "Features/IModularFeatures.h"
Go to the source code of this file.
|
FAutoConsoleVariableRef | GripMotionControllerCvars::CVarDrawCOMDebugSpheres (TEXT("vr.DrawDebugCenterOfMassForGrips"), DrawDebugGripCOM, TEXT("0: Disable, 1: Enable"), ECVF_Default) |
|
| DECLARE_CYCLE_STAT (TEXT("GetGripWorldTransform ~ GettingTransform"), STAT_GetGripTransform, STATGROUP_TickGrip) |
|
| DECLARE_CYCLE_STAT (TEXT("TickGrip ~ TickingGrip"), STAT_TickGrip, STATGROUP_TickGrip) |
|
| DEFINE_LOG_CATEGORY (LogVRMotionController) |
|
static void | PullBackHitComp (FHitResult &Hit, const FVector &Start, const FVector &End, const float Dist) |
|
◆ DECLARE_CYCLE_STAT() [1/2]
DECLARE_CYCLE_STAT |
( |
TEXT("GetGripWorldTransform ~ GettingTransform") | , |
|
|
STAT_GetGripTransform | , |
|
|
STATGROUP_TickGrip | ) |
◆ DECLARE_CYCLE_STAT() [2/2]
DECLARE_CYCLE_STAT |
( |
TEXT("TickGrip ~ TickingGrip") | , |
|
|
STAT_TickGrip | , |
|
|
STATGROUP_TickGrip | ) |
◆ DEFINE_LOG_CATEGORY()
DEFINE_LOG_CATEGORY |
( |
LogVRMotionController | | ) |
|
◆ PullBackHitComp()
static void PullBackHitComp |
( |
FHitResult & | Hit, |
|
|
const FVector & | Start, |
|
|
const FVector & | End, |
|
|
const float | Dist ) |
|
static |
◆ ANGULAR_DAMPING_MULTIPLIER
const float ANGULAR_DAMPING_MULTIPLIER = 1.4f |
◆ ANGULAR_STIFFNESS_MULTIPLIER
const float ANGULAR_STIFFNESS_MULTIPLIER = 1.5f |
◆ HYBRID_PHYSICS_GRIP_MULTIPLIER
const float HYBRID_PHYSICS_GRIP_MULTIPLIER = 10.0f |