A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
UVRSimpleCharacterMovementComponent Class Reference

UCLASS() More...

#include <VRSimpleCharacterMovementComponent.h>

Inheritance diagram for UVRSimpleCharacterMovementComponent:
[legend]

Public Member Functions

 UVRSimpleCharacterMovementComponent (const FObjectInitializer &ObjectInitializer=FObjectInitializer::Get())
 
void AddCustomReplicatedMovement (FVector Movement)
 UFUNCTION(BlueprintCallable, Category = "BaseVRCharacterMovementComponent|VRLocations")
 
virtual void ApplyNetworkMovementMode (const uint8 ReceivedMode) override
 
FORCEINLINE void ApplyReplicatedMovementMode (EVRConjoinedMovementModes &NewMovementMode, bool bClearMovementMode=false)
 
void ApplyVRMotionToVelocity (float deltaTime)
 
bool CheckForMoveAction ()
 
void CheckServerAuthedMoveAction ()
 
void ClearCustomReplicatedMovement ()
 UFUNCTION(BlueprintCallable, Category = "BaseVRCharacterMovementComponent|VRLocations")
 
virtual void ComputeFloorDist (const FVector &CapsuleLocation, float LineDistance, float SweepDistance, FFindFloorResult &OutFloorResult, float SweepRadius, const FHitResult *DownwardSweepResult=NULL) const override
 
virtual bool DoMAPauseTracking (FVRMoveActionContainer &MoveAction)
 
virtual bool DoMASetRotation (FVRMoveActionContainer &MoveAction)
 
virtual bool DoMASnapTurn (FVRMoveActionContainer &MoveAction)
 
virtual bool DoMAStopAllMovement (FVRMoveActionContainer &MoveAction)
 
virtual bool DoMATeleport (FVRMoveActionContainer &MoveAction)
 
void EndPushBackNotification ()
 
virtual bool ForcePositionUpdate (float DeltaTime) override
 
FVector GetActorFeetLocationVR () const
 
FVector GetCustomInputVector ()
 UFUNCTION(BlueprintCallable, Category = "VRMovement")
 
FNetworkPredictionData_Client * GetPredictionData_Client () const override
 
FNetworkPredictionData_Server * GetPredictionData_Server () const override
 
EVRConjoinedMovementModes GetReplicatedMovementMode ()
 UFUNCTION(BlueprintPure, Category = "VRMovement")
 
FORCEINLINE bool HasRequestedVelocity ()
 
bool IsClimbing () const
 
virtual void MoveAutonomous (float ClientTimeStamp, float DeltaTime, uint8 CompressedFlags, const FVector &NewAccel) override
 
virtual void OnClientCorrectionReceived (class FNetworkPredictionData_Client_Character &ClientData, float TimeStamp, FVector NewLocation, FVector NewVelocity, UPrimitiveComponent *NewBase, FName NewBaseBoneName, bool bHasBase, bool bBaseRelativePosition, uint8 ServerMovementMode) override
 
virtual void OnMoveCompleted (FAIRequestID RequestID, const FPathFollowingResult &Result)
 
void OnMovementModeChanged (EMovementMode PreviousMovementMode, uint8 PreviousCustomMode) override
 
void PerformMoveAction_Custom (EVRMoveAction MoveActionToPerform, EVRMoveActionDataReq DataRequirementsForMoveAction, FVector MoveActionVector, FRotator MoveActionRotator, uint8 MoveActionFlags=0)
 UFUNCTION(BlueprintCallable, Category = "VRMovement")
 
void PerformMoveAction_SetRotation (float NewYaw, EVRMoveActionVelocityRetention VelocityRetention=EVRMoveActionVelocityRetention::VRMOVEACTION_Velocity_None, bool bFlagGripTeleport=false, bool bFlagCharacterTeleport=false)
 UFUNCTION(BlueprintCallable, Category = "VRMovement")
 
void PerformMoveAction_SetTrackingPaused (bool bNewTrackingPaused)
 UFUNCTION(BlueprintCallable, Category = "VRMovement")
 
void PerformMoveAction_SnapTurn (float SnapTurnDeltaYaw, EVRMoveActionVelocityRetention VelocityRetention=EVRMoveActionVelocityRetention::VRMOVEACTION_Velocity_None, bool bFlagGripTeleport=false, bool bFlagCharacterTeleport=false)
 UFUNCTION(BlueprintCallable, Category = "VRMovement")
 
void PerformMoveAction_StopAllMovement ()
 UFUNCTION(BlueprintCallable, Category = "VRMovement")
 
void PerformMoveAction_Teleport (FVector TeleportLocation, FRotator TeleportRotation, EVRMoveActionVelocityRetention VelocityRetention=EVRMoveActionVelocityRetention::VRMOVEACTION_Velocity_None, bool bSkipEncroachmentCheck=false)
 UFUNCTION(BlueprintCallable, Category = "VRMovement")
 
virtual void PerformMovement (float DeltaSeconds) override
 
virtual void PhysCustom (float deltaTime, int32 Iterations) override
 
virtual void PhysCustom_Climbing (float deltaTime, int32 Iterations)
 
virtual void PhysCustom_LowGrav (float deltaTime, int32 Iterations)
 
void PhysFalling (float deltaTime, int32 Iterations) override
 
void PhysFlying (float deltaTime, int32 Iterations) override
 
void PhysNavWalking (float deltaTime, int32 Iterations) override
 
void PhysWalking (float deltaTime, int32 Iterations) override
 
virtual void ReplicateMoveToServer (float DeltaTime, const FVector &NewAcceleration) override
 
void RestorePreAdditiveVRMotionVelocity ()
 
FVector RewindVRMovement ()
 UFUNCTION(BlueprintCallable, Category = "VRMovement")
 
void RewindVRRelativeMovement ()
 
FVector RoundDirectMovement (FVector InMovement) const
 
virtual void ServerMove_PerformMovement (const FCharacterNetworkMoveData &MoveData) override
 
void SetClimbingMode (bool bIsClimbing)
 UFUNCTION(BlueprintCallable, Category = "VRMovement|Climbing")
 
void SetCrouchedHalfHeight (float NewCrouchedHalfHeight)
 UFUNCTION(BlueprintCallable, Category = "VRMovement")
 
void SetHasRequestedVelocity (bool bNewHasRequestedVelocity)
 
void SetReplicatedMovementMode (EVRConjoinedMovementModes NewMovementMode)
 UFUNCTION(BlueprintCallable, Category = "VRMovement")
 
void SetUpdatedComponent (USceneComponent *NewUpdatedComponent) override
 
virtual void SimulatedTick (float DeltaSeconds) override
 
virtual float SlideAlongSurface (const FVector &Delta, float Time, const FVector &Normal, FHitResult &Hit, bool bHandleImpact) override
 
virtual void SmoothClientPosition (float DeltaSeconds) override
 
void SmoothClientPosition_UpdateVRVisuals ()
 
virtual void SmoothCorrection (const FVector &OldLocation, const FQuat &OldRotation, const FVector &NewLocation, const FQuat &NewRotation) override
 
void StartPushBackNotification (FHitResult HitResult)
 
virtual void StoreSetTrackingPaused (bool bNewTrackingPaused)
 
void TickComponent (float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction) override
 
void UpdateFromCompressedFlags (uint8 Flags) override
 
virtual bool VerifyClientTimeStamp (float TimeStamp, FNetworkPredictionData_Server_Character &ServerData) override
 
virtual bool VRClimbStepUp (const FVector &GravDir, const FVector &Delta, const FHitResult &InHit, FStepDownResult *OutStepDownResult=nullptr) override
 

Public Attributes

FVector AdditionalVRInputVector
 
bool bApplyAdditionalVRInputVectorAsNegative
 
AVRBaseCharacterBaseVRCharacterOwner
 UPROPERTY(Transient, DuplicateTransient)
 
bool bCapHMDMovementToMaxMovementSpeed
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement")
 
bool bClampClimbingStepUp
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement|Climbing")
 
bool bDisableSimulatedTickWhenSmoothingMovement
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRBaseCharacterMovementComponent|Smoothing")
 
bool bHadExtremeInput
 
bool bHoldPositionOnTrackingLossThresholdHit
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement")
 
bool bIgnoreSimulatingComponentsInFloorCheck
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement")
 
bool bIsFirstTick
 
bool bIsInPushBack
 
bool bJustUnseated
 
bool bNotifyTeleported
 
bool bRunControlRotationInMovementComponent
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement")
 
bool bSkipHMDChecks
 UPROPERTY(BlueprintReadWrite, Category = VRMovement)
 
bool bUseClientControlRotation
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRBaseCharacterMovementComponent")
 
bool bWasInPushBack
 
FVector curCameraLoc
 
FRotator curCameraRot
 
FVector CustomVRInputVector
 
EVRConjoinedMovementModes DefaultPostClimbMovement
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement|Climbing")
 
FVector lastCameraLoc
 
FRotator lastCameraRot
 
FVector LastPreAdditiveVRVelocity
 
FVRMoveActionArray MoveActionArray
 
FVROnPerformClimbingStepUp OnPerformClimbingStepUp
 UPROPERTY(BlueprintAssignable, Category = "VRMovement")
 
bool SetDefaultPostClimbMovementOnStepUp
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement|Climbing")
 
float TrackingLossThreshold
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement", meta = (ClampMin = "0.0", UIMin = "0"))
 
UCameraComponentVRCameraComponent
 UPROPERTY(BlueprintReadOnly, Transient, Category = VRMovement)
 
float VRClimbingEdgeRejectDistance
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement|Climbing")
 
float VRClimbingMaxReleaseVelocitySize
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement|Climbing")
 
float VRClimbingStepHeight
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement|Climbing")
 
float VRClimbingStepUpMaxSize
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement|Climbing")
 
float VRClimbingStepUpMultiplier
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement|Climbing")
 
float VREdgeRejectDistance
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement")
 
bool VRLowGravIgnoresDefaultFluidFriction
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement|LowGrav")
 
float VRLowGravWallFrictionScaler
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement|LowGrav", meta = (ClampMin = "0.0", UIMin = "0", ClampMax = "5.0", UIMax = "5"))
 
FVRCharacterMoveResponseDataContainer VRMoveResponseDataContainer
 
FVRCharacterNetworkMoveDataContainer VRNetworkMoveDataContainer
 
EVRConjoinedMovementModes VRReplicatedMovementMode
 
UCapsuleComponentVRRootCapsule
 UPROPERTY(BlueprintReadOnly, Transient, Category = VRMovement)
 
float VRWallSlideScaler
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement", meta = (ClampMin = "0.0", UIMin = "0", ClampMax = "5.0", UIMax = "5"))
 

Private Member Functions

 GENERATED_BODY ()
 

Detailed Description

UCLASS()

Shared pointer for easy memory management of FSavedMove_Character, for accumulating and replaying network moves. VRSimpleCharacterMovementComponent handles movement logic for the associated Character owner. It supports various movement modes including: walking, falling, swimming, flying, custom.

Movement is affected primarily by current Velocity and Acceleration. Acceleration is updated each frame based on the input vector accumulated thus far (see UPawnMovementComponent::GetPendingInputVector()).

Networking is fully implemented, with server-client correction and prediction included.

See also
ACharacter, UPawnMovementComponent
https://docs.unrealengine.com/latest/INT/Gameplay/Framework/Pawn/Character/

Definition at line 53 of file VRSimpleCharacterMovementComponent.h.

Constructor & Destructor Documentation

◆ UVRSimpleCharacterMovementComponent()

UVRSimpleCharacterMovementComponent::UVRSimpleCharacterMovementComponent ( const FObjectInitializer & ObjectInitializer = FObjectInitializer::Get())

Default UObject constructor.

Definition at line 50 of file VRSimpleCharacterMovementComponent.cpp.

Member Function Documentation

◆ AddCustomReplicatedMovement()

void UVRBaseCharacterMovementComponent::AddCustomReplicatedMovement ( FVector Movement)
inheritedBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "BaseVRCharacterMovementComponent|VRLocations")

Definition at line 554 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ ApplyNetworkMovementMode()

void UVRBaseCharacterMovementComponent::ApplyNetworkMovementMode ( const uint8 ReceivedMode)
overridevirtualinherited

Definition at line 1228 of file VRBaseCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ ApplyReplicatedMovementMode()

FORCEINLINE void UVRBaseCharacterMovementComponent::ApplyReplicatedMovementMode ( EVRConjoinedMovementModes & NewMovementMode,
bool bClearMovementMode = false )
inlineinherited

Definition at line 510 of file VRBaseCharacterMovementComponent.h.

Here is the caller graph for this function:

◆ ApplyVRMotionToVelocity()

void UVRBaseCharacterMovementComponent::ApplyVRMotionToVelocity ( float deltaTime)
inlineinherited

Definition at line 263 of file VRBaseCharacterMovementComponent.h.

Here is the caller graph for this function:

◆ CheckForMoveAction()

bool UVRBaseCharacterMovementComponent::CheckForMoveAction ( )
inherited

Definition at line 695 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CheckServerAuthedMoveAction()

void UVRBaseCharacterMovementComponent::CheckServerAuthedMoveAction ( )
inherited

Definition at line 568 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ClearCustomReplicatedMovement()

void UVRBaseCharacterMovementComponent::ClearCustomReplicatedMovement ( )
inheritedBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "BaseVRCharacterMovementComponent|VRLocations")

Definition at line 563 of file VRBaseCharacterMovementComponent.cpp.

◆ ComputeFloorDist()

void UVRBaseCharacterMovementComponent::ComputeFloorDist ( const FVector & CapsuleLocation,
float LineDistance,
float SweepDistance,
FFindFloorResult & OutFloorResult,
float SweepRadius,
const FHitResult * DownwardSweepResult = NULL ) const
overridevirtualinherited

Definition at line 346 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DoMAPauseTracking()

bool UVRBaseCharacterMovementComponent::DoMAPauseTracking ( FVRMoveActionContainer & MoveAction)
virtualinherited

Definition at line 926 of file VRBaseCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ DoMASetRotation()

bool UVRBaseCharacterMovementComponent::DoMASetRotation ( FVRMoveActionContainer & MoveAction)
virtualinherited

Definition at line 803 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DoMASnapTurn()

bool UVRBaseCharacterMovementComponent::DoMASnapTurn ( FVRMoveActionContainer & MoveAction)
virtualinherited

Definition at line 736 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DoMAStopAllMovement()

bool UVRBaseCharacterMovementComponent::DoMAStopAllMovement ( FVRMoveActionContainer & MoveAction)
virtualinherited

Definition at line 915 of file VRBaseCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ DoMATeleport()

bool UVRBaseCharacterMovementComponent::DoMATeleport ( FVRMoveActionContainer & MoveAction)
virtualinherited

Definition at line 866 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EndPushBackNotification()

void UVRBaseCharacterMovementComponent::EndPushBackNotification ( )
inherited

Definition at line 312 of file VRBaseCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ ForcePositionUpdate()

bool UVRBaseCharacterMovementComponent::ForcePositionUpdate ( float DeltaTime)
overridevirtualinherited

Definition at line 126 of file VRBaseCharacterMovementComponent.cpp.

◆ GENERATED_BODY()

UVRSimpleCharacterMovementComponent::GENERATED_BODY ( )
private

◆ GetActorFeetLocationVR()

FVector UVRBaseCharacterMovementComponent::GetActorFeetLocationVR ( ) const
inherited

Definition at line 326 of file VRBaseCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ GetCustomInputVector()

FVector UVRBaseCharacterMovementComponent::GetCustomInputVector ( )
inheritedBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRMovement")

Definition at line 1981 of file VRBaseCharacterMovementComponent.cpp.

◆ GetPredictionData_Client()

FNetworkPredictionData_Client * UVRSimpleCharacterMovementComponent::GetPredictionData_Client ( ) const
override

Definition at line 1505 of file VRSimpleCharacterMovementComponent.cpp.

◆ GetPredictionData_Server()

FNetworkPredictionData_Server * UVRSimpleCharacterMovementComponent::GetPredictionData_Server ( ) const
override

Definition at line 1521 of file VRSimpleCharacterMovementComponent.cpp.

◆ GetReplicatedMovementMode()

EVRConjoinedMovementModes UVRBaseCharacterMovementComponent::GetReplicatedMovementMode ( )
inheritedBlueprintPure

UFUNCTION(BlueprintPure, Category = "VRMovement")

Definition at line 1218 of file VRBaseCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ HasRequestedVelocity()

FORCEINLINE bool UVRBaseCharacterMovementComponent::HasRequestedVelocity ( )
inlineinherited

Definition at line 102 of file VRBaseCharacterMovementComponent.h.

◆ IsClimbing()

bool UVRBaseCharacterMovementComponent::IsClimbing ( ) const
inherited

Definition at line 1970 of file VRBaseCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ MoveAutonomous()

void UVRBaseCharacterMovementComponent::MoveAutonomous ( float ClientTimeStamp,
float DeltaTime,
uint8 CompressedFlags,
const FVector & NewAccel )
overridevirtualinherited

Definition at line 1639 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnClientCorrectionReceived()

void UVRBaseCharacterMovementComponent::OnClientCorrectionReceived ( class FNetworkPredictionData_Client_Character & ClientData,
float TimeStamp,
FVector NewLocation,
FVector NewVelocity,
UPrimitiveComponent * NewBase,
FName NewBaseBoneName,
bool bHasBase,
bool bBaseRelativePosition,
uint8 ServerMovementMode )
overridevirtualinherited

Definition at line 1409 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnMoveCompleted()

void UVRBaseCharacterMovementComponent::OnMoveCompleted ( FAIRequestID RequestID,
const FPathFollowingResult & Result )
virtualinherited

Definition at line 338 of file VRBaseCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ OnMovementModeChanged()

void UVRBaseCharacterMovementComponent::OnMovementModeChanged ( EMovementMode PreviousMovementMode,
uint8 PreviousCustomMode )
overrideinherited

Definition at line 83 of file VRBaseCharacterMovementComponent.cpp.

◆ PerformMoveAction_Custom()

void UVRBaseCharacterMovementComponent::PerformMoveAction_Custom ( EVRMoveAction MoveActionToPerform,
EVRMoveActionDataReq DataRequirementsForMoveAction,
FVector MoveActionVector,
FRotator MoveActionRotator,
uint8 MoveActionFlags = 0 )
inheritedBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRMovement")

Definition at line 680 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ PerformMoveAction_SetRotation()

void UVRBaseCharacterMovementComponent::PerformMoveAction_SetRotation ( float NewYaw,
EVRMoveActionVelocityRetention VelocityRetention = EVRMoveActionVelocityRetention::VRMOVEACTION_Velocity_None,
bool bFlagGripTeleport = false,
bool bFlagCharacterTeleport = false )
inheritedBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRMovement")

Definition at line 626 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ PerformMoveAction_SetTrackingPaused()

void UVRBaseCharacterMovementComponent::PerformMoveAction_SetTrackingPaused ( bool bNewTrackingPaused)
inheritedBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRMovement")

Definition at line 583 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ PerformMoveAction_SnapTurn()

void UVRBaseCharacterMovementComponent::PerformMoveAction_SnapTurn ( float SnapTurnDeltaYaw,
EVRMoveActionVelocityRetention VelocityRetention = EVRMoveActionVelocityRetention::VRMOVEACTION_Velocity_None,
bool bFlagGripTeleport = false,
bool bFlagCharacterTeleport = false )
inheritedBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRMovement")

Definition at line 598 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ PerformMoveAction_StopAllMovement()

void UVRBaseCharacterMovementComponent::PerformMoveAction_StopAllMovement ( )
inheritedBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRMovement")

Definition at line 671 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ PerformMoveAction_Teleport()

void UVRBaseCharacterMovementComponent::PerformMoveAction_Teleport ( FVector TeleportLocation,
FRotator TeleportRotation,
EVRMoveActionVelocityRetention VelocityRetention = EVRMoveActionVelocityRetention::VRMOVEACTION_Velocity_None,
bool bSkipEncroachmentCheck = false )
inheritedBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRMovement")

Definition at line 650 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PerformMovement()

void UVRBaseCharacterMovementComponent::PerformMovement ( float DeltaSeconds)
overridevirtualinherited

Definition at line 1368 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PhysCustom()

void UVRBaseCharacterMovementComponent::PhysCustom ( float deltaTime,
int32 Iterations )
overridevirtualinherited

Definition at line 938 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PhysCustom_Climbing()

void UVRBaseCharacterMovementComponent::PhysCustom_Climbing ( float deltaTime,
int32 Iterations )
virtualinherited

Definition at line 961 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PhysCustom_LowGrav()

void UVRBaseCharacterMovementComponent::PhysCustom_LowGrav ( float deltaTime,
int32 Iterations )
virtualinherited

Definition at line 1117 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PhysFalling()

void UVRSimpleCharacterMovementComponent::PhysFalling ( float deltaTime,
int32 Iterations )
override

timeTick

timeTick

Definition at line 508 of file VRSimpleCharacterMovementComponent.cpp.

◆ PhysFlying()

void UVRSimpleCharacterMovementComponent::PhysFlying ( float deltaTime,
int32 Iterations )
override

Definition at line 297 of file VRSimpleCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ PhysNavWalking()

void UVRSimpleCharacterMovementComponent::PhysNavWalking ( float deltaTime,
int32 Iterations )
override

Definition at line 359 of file VRSimpleCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ PhysWalking()

void UVRSimpleCharacterMovementComponent::PhysWalking ( float deltaTime,
int32 Iterations )
override

Definition at line 820 of file VRSimpleCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ ReplicateMoveToServer()

void UVRSimpleCharacterMovementComponent::ReplicateMoveToServer ( float DeltaTime,
const FVector & NewAcceleration )
overridevirtual

Default client to server move RPC data container. Can be bypassed via SetNetworkMoveDataContainer().

Definition at line 1309 of file VRSimpleCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ RestorePreAdditiveVRMotionVelocity()

void UVRBaseCharacterMovementComponent::RestorePreAdditiveVRMotionVelocity ( )
inlineinherited

Definition at line 300 of file VRBaseCharacterMovementComponent.h.

Here is the caller graph for this function:

◆ RewindVRMovement()

FVector UVRBaseCharacterMovementComponent::RewindVRMovement ( )
inheritedBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRMovement")

Definition at line 1975 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ RewindVRRelativeMovement()

void UVRBaseCharacterMovementComponent::RewindVRRelativeMovement ( )
inlineinherited

Definition at line 209 of file VRBaseCharacterMovementComponent.h.

Here is the caller graph for this function:

◆ RoundDirectMovement()

FVector UVRBaseCharacterMovementComponent::RoundDirectMovement ( FVector InMovement) const
inherited

Definition at line 1997 of file VRBaseCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ ServerMove_PerformMovement()

void UVRSimpleCharacterMovementComponent::ServerMove_PerformMovement ( const FCharacterNetworkMoveData & MoveData)
overridevirtual

Definition at line 1160 of file VRSimpleCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ SetClimbingMode()

void UVRBaseCharacterMovementComponent::SetClimbingMode ( bool bIsClimbing)
inheritedBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRMovement|Climbing")

Definition at line 1204 of file VRBaseCharacterMovementComponent.cpp.

◆ SetCrouchedHalfHeight()

void UVRBaseCharacterMovementComponent::SetCrouchedHalfHeight ( float NewCrouchedHalfHeight)
inheritedBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRMovement")

Definition at line 549 of file VRBaseCharacterMovementComponent.cpp.

◆ SetHasRequestedVelocity()

void UVRBaseCharacterMovementComponent::SetHasRequestedVelocity ( bool bNewHasRequestedVelocity)
inherited

Definition at line 1965 of file VRBaseCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ SetReplicatedMovementMode()

void UVRBaseCharacterMovementComponent::SetReplicatedMovementMode ( EVRConjoinedMovementModes NewMovementMode)
inheritedBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "VRMovement")

Definition at line 1212 of file VRBaseCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ SetUpdatedComponent()

void UVRSimpleCharacterMovementComponent::SetUpdatedComponent ( USceneComponent * NewUpdatedComponent)
overridevirtual

Reimplemented from UVRBaseCharacterMovementComponent.

Definition at line 1135 of file VRSimpleCharacterMovementComponent.cpp.

◆ SimulatedTick()

void UVRBaseCharacterMovementComponent::SimulatedTick ( float DeltaSeconds)
overridevirtualinherited

Definition at line 1424 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ SlideAlongSurface()

float UVRBaseCharacterMovementComponent::SlideAlongSurface ( const FVector & Delta,
float Time,
const FVector & Normal,
FHitResult & Hit,
bool bHandleImpact )
overridevirtualinherited

Custom version of SlideAlongSurface that handles different movement modes separately; namely during walking physics we might not want to slide up slopes.

Definition at line 493 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SmoothClientPosition()

void UVRBaseCharacterMovementComponent::SmoothClientPosition ( float DeltaSeconds)
overridevirtualinherited

Smooth mesh location for network interpolation, based on values set up by SmoothCorrection. Internally this simply calls SmoothClientPosition_Interpolate() then SmoothClientPosition_UpdateVisuals(). This function is not called when bNetworkSmoothingComplete is true.

Parameters
DeltaSecondsTime since last update.

Definition at line 1899 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SmoothClientPosition_UpdateVRVisuals()

void UVRBaseCharacterMovementComponent::SmoothClientPosition_UpdateVRVisuals ( )
inherited

Update mesh location based on interpolated values.

Definition at line 1924 of file VRBaseCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ SmoothCorrection()

void UVRBaseCharacterMovementComponent::SmoothCorrection ( const FVector & OldLocation,
const FQuat & OldRotation,
const FVector & NewLocation,
const FQuat & NewRotation )
overridevirtualinherited

Definition at line 1703 of file VRBaseCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ StartPushBackNotification()

void UVRBaseCharacterMovementComponent::StartPushBackNotification ( FHitResult HitResult)
inherited

Definition at line 297 of file VRBaseCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ StoreSetTrackingPaused()

void UVRBaseCharacterMovementComponent::StoreSetTrackingPaused ( bool bNewTrackingPaused)
virtualinherited

Reimplemented in UVRCharacterMovementComponent.

Definition at line 588 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TickComponent()

void UVRSimpleCharacterMovementComponent::TickComponent ( float DeltaTime,
enum ELevelTick TickType,
FActorComponentTickFunction * ThisTickFunction )
overridevirtual

Reimplemented from UVRBaseCharacterMovementComponent.

Definition at line 1059 of file VRSimpleCharacterMovementComponent.cpp.

◆ UpdateFromCompressedFlags()

void UVRBaseCharacterMovementComponent::UpdateFromCompressedFlags ( uint8 Flags)
overrideinherited

Definition at line 1986 of file VRBaseCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ VerifyClientTimeStamp()

bool UVRBaseCharacterMovementComponent::VerifyClientTimeStamp ( float TimeStamp,
FNetworkPredictionData_Server_Character & ServerData )
overridevirtualinherited

Definition at line 288 of file VRBaseCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ VRClimbStepUp()

bool UVRSimpleCharacterMovementComponent::VRClimbStepUp ( const FVector & GravDir,
const FVector & Delta,
const FHitResult & InHit,
FStepDownResult * OutStepDownResult = nullptr )
overridevirtual

Reimplemented from UVRBaseCharacterMovementComponent.

Definition at line 77 of file VRSimpleCharacterMovementComponent.cpp.

Member Data Documentation

◆ AdditionalVRInputVector

FVector UVRBaseCharacterMovementComponent::AdditionalVRInputVector
inherited

Definition at line 203 of file VRBaseCharacterMovementComponent.h.

◆ bApplyAdditionalVRInputVectorAsNegative

bool UVRBaseCharacterMovementComponent::bApplyAdditionalVRInputVectorAsNegative
inherited

Definition at line 206 of file VRBaseCharacterMovementComponent.h.

◆ BaseVRCharacterOwner

AVRBaseCharacter* UVRBaseCharacterMovementComponent::BaseVRCharacterOwner
inheritedDuplicateTransientTransient

UPROPERTY(Transient, DuplicateTransient)

BaseVR Character movement component belongs to

Definition at line 48 of file VRBaseCharacterMovementComponent.h.

◆ bCapHMDMovementToMaxMovementSpeed

bool UVRBaseCharacterMovementComponent::bCapHMDMovementToMaxMovementSpeed
inheritedBlueprintReadWriteEditAnywhere

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement")

Definition at line 85 of file VRBaseCharacterMovementComponent.h.

◆ bClampClimbingStepUp

bool UVRBaseCharacterMovementComponent::bClampClimbingStepUp
inheritedBlueprintReadWriteEditAnywhere

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement|Climbing")

Definition at line 426 of file VRBaseCharacterMovementComponent.h.

◆ bDisableSimulatedTickWhenSmoothingMovement

bool UVRBaseCharacterMovementComponent::bDisableSimulatedTickWhenSmoothingMovement
inheritedBlueprintReadWriteEditAnywhere

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRBaseCharacterMovementComponent|Smoothing")

Definition at line 77 of file VRBaseCharacterMovementComponent.h.

◆ bHadExtremeInput

bool UVRBaseCharacterMovementComponent::bHadExtremeInput
inherited

Definition at line 205 of file VRBaseCharacterMovementComponent.h.

◆ bHoldPositionOnTrackingLossThresholdHit

bool UVRBaseCharacterMovementComponent::bHoldPositionOnTrackingLossThresholdHit
inheritedBlueprintReadWriteEditAnywhere

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement")

Definition at line 235 of file VRBaseCharacterMovementComponent.h.

◆ bIgnoreSimulatingComponentsInFloorCheck

bool UVRBaseCharacterMovementComponent::bIgnoreSimulatingComponentsInFloorCheck
inheritedBlueprintReadWriteEditAnywhere

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement")

  • Allow custom handling when character hits a wall while swimming. *‍/

Definition at line 364 of file VRBaseCharacterMovementComponent.h.

◆ bIsFirstTick

bool UVRSimpleCharacterMovementComponent::bIsFirstTick

Definition at line 58 of file VRSimpleCharacterMovementComponent.h.

◆ bIsInPushBack

bool UVRBaseCharacterMovementComponent::bIsInPushBack
inherited

Definition at line 253 of file VRBaseCharacterMovementComponent.h.

◆ bJustUnseated

bool UVRBaseCharacterMovementComponent::bJustUnseated
inherited

Definition at line 257 of file VRBaseCharacterMovementComponent.h.

◆ bNotifyTeleported

bool UVRBaseCharacterMovementComponent::bNotifyTeleported
inherited

Definition at line 40 of file VRBaseCharacterMovementComponent.h.

◆ bRunControlRotationInMovementComponent

bool UVRBaseCharacterMovementComponent::bRunControlRotationInMovementComponent
inheritedBlueprintReadWriteEditAnywhere

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement")

Definition at line 373 of file VRBaseCharacterMovementComponent.h.

◆ bSkipHMDChecks

bool UVRSimpleCharacterMovementComponent::bSkipHMDChecks
BlueprintReadWrite

UPROPERTY(BlueprintReadWrite, Category = VRMovement)

Definition at line 84 of file VRSimpleCharacterMovementComponent.h.

◆ bUseClientControlRotation

bool UVRBaseCharacterMovementComponent::bUseClientControlRotation
inheritedBlueprintReadWriteEditAnywhere

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRBaseCharacterMovementComponent")

Definition at line 69 of file VRBaseCharacterMovementComponent.h.

◆ bWasInPushBack

bool UVRBaseCharacterMovementComponent::bWasInPushBack
inherited

Definition at line 252 of file VRBaseCharacterMovementComponent.h.

◆ curCameraLoc

FVector UVRSimpleCharacterMovementComponent::curCameraLoc

Definition at line 59 of file VRSimpleCharacterMovementComponent.h.

◆ curCameraRot

FRotator UVRSimpleCharacterMovementComponent::curCameraRot

Definition at line 60 of file VRSimpleCharacterMovementComponent.h.

◆ CustomVRInputVector

FVector UVRBaseCharacterMovementComponent::CustomVRInputVector
inherited

Definition at line 202 of file VRBaseCharacterMovementComponent.h.

◆ DefaultPostClimbMovement

EVRConjoinedMovementModes UVRBaseCharacterMovementComponent::DefaultPostClimbMovement
inheritedBlueprintReadWriteEditAnywhere

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement|Climbing")

Definition at line 476 of file VRBaseCharacterMovementComponent.h.

◆ lastCameraLoc

FVector UVRSimpleCharacterMovementComponent::lastCameraLoc

Definition at line 62 of file VRSimpleCharacterMovementComponent.h.

◆ lastCameraRot

FRotator UVRSimpleCharacterMovementComponent::lastCameraRot

Definition at line 63 of file VRSimpleCharacterMovementComponent.h.

◆ LastPreAdditiveVRVelocity

FVector UVRBaseCharacterMovementComponent::LastPreAdditiveVRVelocity
inherited

Definition at line 204 of file VRBaseCharacterMovementComponent.h.

◆ MoveActionArray

FVRMoveActionArray UVRBaseCharacterMovementComponent::MoveActionArray
inherited

Definition at line 193 of file VRBaseCharacterMovementComponent.h.

◆ OnPerformClimbingStepUp

FVROnPerformClimbingStepUp UVRBaseCharacterMovementComponent::OnPerformClimbingStepUp
inheritedBlueprintAssignable

UPROPERTY(BlueprintAssignable, Category = "VRMovement")

Definition at line 95 of file VRBaseCharacterMovementComponent.h.

◆ SetDefaultPostClimbMovementOnStepUp

bool UVRBaseCharacterMovementComponent::SetDefaultPostClimbMovementOnStepUp
inheritedBlueprintReadWriteEditAnywhere

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement|Climbing")

Definition at line 442 of file VRBaseCharacterMovementComponent.h.

◆ TrackingLossThreshold

float UVRBaseCharacterMovementComponent::TrackingLossThreshold
inheritedBlueprintReadWriteEditAnywhere

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement", meta = (ClampMin = "0.0", UIMin = "0"))

Definition at line 226 of file VRBaseCharacterMovementComponent.h.

◆ VRCameraComponent

UCameraComponent* UVRSimpleCharacterMovementComponent::VRCameraComponent
BlueprintReadOnlyTransient

UPROPERTY(BlueprintReadOnly, Transient, Category = VRMovement)

Definition at line 77 of file VRSimpleCharacterMovementComponent.h.

◆ VRClimbingEdgeRejectDistance

float UVRBaseCharacterMovementComponent::VRClimbingEdgeRejectDistance
inheritedBlueprintReadWriteEditAnywhere

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement|Climbing")

Definition at line 410 of file VRBaseCharacterMovementComponent.h.

◆ VRClimbingMaxReleaseVelocitySize

float UVRBaseCharacterMovementComponent::VRClimbingMaxReleaseVelocitySize
inheritedBlueprintReadWriteEditAnywhere

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement|Climbing")

Definition at line 450 of file VRBaseCharacterMovementComponent.h.

◆ VRClimbingStepHeight

float UVRBaseCharacterMovementComponent::VRClimbingStepHeight
inheritedBlueprintReadWriteEditAnywhere

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement|Climbing")

Definition at line 398 of file VRBaseCharacterMovementComponent.h.

◆ VRClimbingStepUpMaxSize

float UVRBaseCharacterMovementComponent::VRClimbingStepUpMaxSize
inheritedBlueprintReadWriteEditAnywhere

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement|Climbing")

Definition at line 434 of file VRBaseCharacterMovementComponent.h.

◆ VRClimbingStepUpMultiplier

float UVRBaseCharacterMovementComponent::VRClimbingStepUpMultiplier
inheritedBlueprintReadWriteEditAnywhere

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement|Climbing")

Definition at line 418 of file VRBaseCharacterMovementComponent.h.

◆ VREdgeRejectDistance

float UVRBaseCharacterMovementComponent::VREdgeRejectDistance
inheritedBlueprintReadWriteEditAnywhere

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement")

Definition at line 462 of file VRBaseCharacterMovementComponent.h.

◆ VRLowGravIgnoresDefaultFluidFriction

bool UVRBaseCharacterMovementComponent::VRLowGravIgnoresDefaultFluidFriction
inheritedBlueprintReadWriteEditAnywhere

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement|LowGrav")

Definition at line 550 of file VRBaseCharacterMovementComponent.h.

◆ VRLowGravWallFrictionScaler

float UVRBaseCharacterMovementComponent::VRLowGravWallFrictionScaler
inheritedBlueprintReadWriteEditAnywhere

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement|LowGrav", meta = (ClampMin = "0.0", UIMin = "0", ClampMax = "5.0", UIMax = "5"))

Definition at line 542 of file VRBaseCharacterMovementComponent.h.

◆ VRMoveResponseDataContainer

FVRCharacterMoveResponseDataContainer UVRBaseCharacterMovementComponent::VRMoveResponseDataContainer
inherited

Definition at line 38 of file VRBaseCharacterMovementComponent.h.

◆ VRNetworkMoveDataContainer

FVRCharacterNetworkMoveDataContainer UVRBaseCharacterMovementComponent::VRNetworkMoveDataContainer
inherited

Default client to server move RPC data container. Can be bypassed via SetNetworkMoveDataContainer().

Definition at line 37 of file VRBaseCharacterMovementComponent.h.

◆ VRReplicatedMovementMode

EVRConjoinedMovementModes UVRBaseCharacterMovementComponent::VRReplicatedMovementMode
inherited

Definition at line 508 of file VRBaseCharacterMovementComponent.h.

◆ VRRootCapsule

UCapsuleComponent* UVRSimpleCharacterMovementComponent::VRRootCapsule
BlueprintReadOnlyTransient

UPROPERTY(BlueprintReadOnly, Transient, Category = VRMovement)

Definition at line 70 of file VRSimpleCharacterMovementComponent.h.

◆ VRWallSlideScaler

float UVRBaseCharacterMovementComponent::VRWallSlideScaler
inheritedBlueprintReadWriteEditAnywhere

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement", meta = (ClampMin = "0.0", UIMin = "0", ClampMax = "5.0", UIMax = "5"))

Definition at line 123 of file VRBaseCharacterMovementComponent.h.


The documentation for this class was generated from the following files: