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

UCLASS() More...

#include <VRCharacterMovementComponent.h>

Inheritance diagram for UVRCharacterMovementComponent:
[legend]

Public Member Functions

 UVRCharacterMovementComponent (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)
 
virtual void ApplyRepulsionForce (float DeltaSeconds) override
 
void ApplyVRMotionToVelocity (float deltaTime)
 
bool CanCrouch ()
 
virtual void CapsuleTouched (UPrimitiveComponent *OverlappedComp, AActor *Other, UPrimitiveComponent *OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult &SweepResult) override
 
bool CheckForMoveAction ()
 
void CheckServerAuthedMoveAction ()
 
virtual bool CheckWaterJump (FVector CheckPoint, FVector &WallNormal) override
 
void ClearCustomReplicatedMovement ()
 UFUNCTION(BlueprintCallable, Category = "BaseVRCharacterMovementComponent|VRLocations")
 
virtual void ClientAdjustPositionVR_Implementation (float TimeStamp, FVector NewLoc, uint16 NewYaw, FVector NewVel, UPrimitiveComponent *NewBase, FName NewBaseBoneName, bool bHasBase, bool bBaseRelativePosition, uint8 ServerMovementMode)
 
virtual void ClientHandleMoveResponse (const FCharacterMoveResponseDataContainer &MoveResponse) override
 
virtual void ComputeFloorDist (const FVector &CapsuleLocation, float LineDistance, float SweepDistance, FFindFloorResult &OutFloorResult, float SweepRadius, const FHitResult *DownwardSweepResult=NULL) const override
 
virtual void Crouch (bool bClientSimulation=false) 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 void FindFloor (const FVector &CapsuleLocation, FFindFloorResult &OutFloorResult, bool bCanUseCachedLocation, const FHitResult *DownwardSweepResult=NULL) const
 
virtual bool ForcePositionUpdate (float DeltaTime) override
 
virtual FBasedPosition GetActorFeetLocationBased () const override
 
FVector GetActorFeetLocationVR () const
 
FVector GetCustomInputVector ()
 UFUNCTION(BlueprintCallable, Category = "VRMovement")
 
virtual FVector GetImpartedMovementBaseVelocity () const override
 
virtual FVector GetPenetrationAdjustment (const FHitResult &Hit) const override
 
FNetworkPredictionData_Client * GetPredictionData_Client () const override
 
FNetworkPredictionData_Server * GetPredictionData_Server () const override
 
EVRConjoinedMovementModes GetReplicatedMovementMode ()
 UFUNCTION(BlueprintPure, Category = "VRMovement")
 
FORCEINLINE bool HasRequestedVelocity ()
 
float ImmersionDepth () const override
 
bool IsClimbing () const
 
virtual bool IsWithinClimbingEdgeTolerance (const FVector &CapsuleLocation, const FVector &TestImpactPoint, const float CapsuleRadius) const
 
virtual bool IsWithinEdgeTolerance (const FVector &CapsuleLocation, const FVector &TestImpactPoint, const float CapsuleRadius) const override
 
virtual void MoveAlongFloor (const FVector &InVelocity, float DeltaSeconds, FStepDownResult *OutStepDownResult) override
 
virtual void MoveAutonomous (float ClientTimeStamp, float DeltaTime, uint8 CompressedFlags, const FVector &NewAccel) override
 
void MoveSmooth (const FVector &InVelocity, const float DeltaSeconds, FStepDownResult *OutStepDownResult) 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
 
virtual void OnRegister () 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)
 
virtual void PhysFalling (float deltaTime, int32 Iterations) override
 
virtual void PhysFlying (float deltaTime, int32 Iterations) override
 
virtual void PhysNavWalking (float deltaTime, int32 Iterations) override
 
virtual void PhysSwimming (float deltaTime, int32 Iterations) override
 
virtual void PhysWalking (float deltaTime, int32 Iterations) override
 
void PostPhysicsTickComponent (float DeltaTime, FCharacterMovementComponentPostPhysicsTickFunction &ThisTickFunction) override
 
virtual void ProcessLanded (const FHitResult &Hit, float remainingTime, 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
 
bool SafeMoveUpdatedComponent (const FVector &Delta, const FQuat &NewRotation, bool bSweep, FHitResult &OutHit, ETeleportType Teleport=ETeleportType::None)
 
bool SafeMoveUpdatedComponent (const FVector &Delta, const FRotator &NewRotation, bool bSweep, FHitResult &OutHit, ETeleportType Teleport=ETeleportType::None)
 
virtual bool ServerCheckClientErrorVR (float ClientTimeStamp, float DeltaTime, const FVector &Accel, const FVector &ClientWorldLocation, float ClientYaw, const FVector &RelativeClientLocation, UPrimitiveComponent *ClientMovementBase, FName ClientBaseBoneName, uint8 ClientMovementMode)
 
virtual void ServerMove_PerformMovement (const FCharacterNetworkMoveData &MoveData) override
 
virtual void ServerMoveHandleClientErrorVR (float ClientTimeStamp, float DeltaTime, const FVector &Accel, const FVector &RelativeClientLocation, float ClientYaw, UPrimitiveComponent *ClientMovementBase, FName ClientBaseBoneName, uint8 ClientMovementMode)
 
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")
 
virtual void SetUpdatedComponent (USceneComponent *NewUpdatedComponent) override
 
virtual bool ShouldCheckForValidLandingSpot (float DeltaTime, const FVector &Delta, const FHitResult &Hit) const override
 
virtual void SimulatedTick (float DeltaSeconds) override
 
void SimulateMovement (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)
 
void StartSwimmingVR (FVector OldLocation, FVector OldVelocity, float timeTick, float remainingTime, int32 Iterations)
 
bool StepUp (const FVector &GravDir, const FVector &Delta, const FHitResult &InHit, FStepDownResult *OutStepDownResult=NULL) override
 
virtual void StoreSetTrackingPaused (bool bNewTrackingPaused) override
 
float SwimVR (FVector Delta, FHitResult &Hit)
 
void TickComponent (float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction)
 
virtual bool TryToLeaveNavWalking () override
 
virtual void UnCrouch (bool bClientSimulation=false) override
 
virtual void UpdateBasedMovement (float DeltaSeconds) 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 bAllowMovementMerging
 UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "VRCharacterMovementComponent")
 
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 bIsInPushBack
 
bool bJustUnseated
 
bool bNotifyTeleported
 
bool bRunClientCorrectionToHMD
 UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "VRCharacterMovementComponent")
 
bool bRunControlRotationInMovementComponent
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement")
 
bool bUseClientControlRotation
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRBaseCharacterMovementComponent")
 
bool bWasInPushBack
 
FVector CustomVRInputVector
 
EVRConjoinedMovementModes DefaultPostClimbMovement
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement|Climbing")
 
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"))
 
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
 
UVRRootComponentVRRootCapsule
 UPROPERTY(BlueprintReadOnly, Transient, Category = VRMovement)
 
float VRWallSlideScaler
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VRMovement", meta = (ClampMin = "0.0", UIMin = "0", ClampMax = "5.0", UIMax = "5"))
 

Static Public Attributes

static const float CLIMB_SWEEP_EDGE_REJECT_DISTANCE
 

Private Member Functions

 GENERATED_BODY ()
 

Detailed Description

UCLASS()

Shared pointer for easy memory management of FSavedMove_Character, for accumulating and replaying network moves. VRCharacterMovementComponent 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 56 of file VRCharacterMovementComponent.h.

Constructor & Destructor Documentation

◆ UVRCharacterMovementComponent()

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

Default UObject constructor.

Definition at line 1363 of file VRCharacterMovementComponent.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:

◆ ApplyRepulsionForce()

void UVRCharacterMovementComponent::ApplyRepulsionForce ( float DeltaSeconds)
overridevirtual

Definition at line 1427 of file VRCharacterMovementComponent.cpp.

◆ ApplyVRMotionToVelocity()

void UVRBaseCharacterMovementComponent::ApplyVRMotionToVelocity ( float deltaTime)
inlineinherited

Definition at line 263 of file VRBaseCharacterMovementComponent.h.

Here is the caller graph for this function:

◆ CanCrouch()

bool UVRCharacterMovementComponent::CanCrouch ( )

Definition at line 1421 of file VRCharacterMovementComponent.cpp.

◆ CapsuleTouched()

void UVRCharacterMovementComponent::CapsuleTouched ( UPrimitiveComponent * OverlappedComp,
AActor * Other,
UPrimitiveComponent * OtherComp,
int32 OtherBodyIndex,
bool bFromSweep,
const FHitResult & SweepResult )
overridevirtual

Get as close to waterline as possible, staying on same side as currently. Verify that the supplied hit result is a valid landing spot when falling.

Definition at line 1105 of file VRCharacterMovementComponent.cpp.

◆ 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:

◆ CheckWaterJump()

bool UVRCharacterMovementComponent::CheckWaterJump ( FVector CheckPoint,
FVector & WallNormal )
overridevirtual

Check if swimming pawn just ran into edge of the pool and should jump out.

Definition at line 3323 of file VRCharacterMovementComponent.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.

◆ ClientAdjustPositionVR_Implementation()

void UVRCharacterMovementComponent::ClientAdjustPositionVR_Implementation ( float TimeStamp,
FVector NewLoc,
uint16 NewYaw,
FVector NewVel,
UPrimitiveComponent * NewBase,
FName NewBaseBoneName,
bool bHasBase,
bool bBaseRelativePosition,
uint8 ServerMovementMode )
virtual

Replicate position correction to client, associated with a timestamped servermove. Client will replay subsequent moves after applying adjustment.

bRunClientCorrectionToHMD &&

Definition at line 3734 of file VRCharacterMovementComponent.cpp.

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

◆ ClientHandleMoveResponse()

void UVRCharacterMovementComponent::ClientHandleMoveResponse ( const FCharacterMoveResponseDataContainer & MoveResponse)
overridevirtual

Definition at line 3676 of file VRCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ 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:

◆ Crouch()

void UVRCharacterMovementComponent::Crouch ( bool bClientSimulation = false)
overridevirtual

Checks if new capsule size fits (no encroachment), and call CharacterOwner->OnStartCrouch() if successful. In general you should set bWantsToCrouch instead to have the crouch persist during movement, or just use the crouch functions on the owning Character.

Parameters
bClientSimulationtrue when called when bIsCrouched is replicated to non owned clients, to update collision cylinder and offset.

Definition at line 89 of file VRCharacterMovementComponent.cpp.

Here is the call 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:

◆ FindFloor()

void UVRCharacterMovementComponent::FindFloor ( const FVector & CapsuleLocation,
FFindFloorResult & OutFloorResult,
bool bCanUseCachedLocation,
const FHitResult * DownwardSweepResult = NULL ) const
virtual

Definition at line 2302 of file VRCharacterMovementComponent.cpp.

Here is the call graph for this function:
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()

UVRCharacterMovementComponent::GENERATED_BODY ( )
private

◆ GetActorFeetLocationBased()

FBasedPosition UVRCharacterMovementComponent::GetActorFeetLocationBased ( ) const
overridevirtual
Returns
true if the character is allowed to crouch in the current state. By default it is allowed when walking or falling, if CanEverCrouch() is true. Blueprint notification that we've completed the current movement request

Definition at line 3363 of file VRCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ 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.

◆ GetImpartedMovementBaseVelocity()

FVector UVRCharacterMovementComponent::GetImpartedMovementBaseVelocity ( ) const
overridevirtual

Definition at line 2263 of file VRCharacterMovementComponent.cpp.

◆ GetPenetrationAdjustment()

FVector UVRCharacterMovementComponent::GetPenetrationAdjustment ( const FHitResult & Hit) const
overridevirtual

Definition at line 4121 of file VRCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ GetPredictionData_Client()

FNetworkPredictionData_Client * UVRCharacterMovementComponent::GetPredictionData_Client ( ) const
override

Definition at line 359 of file VRCharacterMovementComponent.cpp.

◆ GetPredictionData_Server()

FNetworkPredictionData_Server * UVRCharacterMovementComponent::GetPredictionData_Server ( ) const
override

Definition at line 375 of file VRCharacterMovementComponent.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.

◆ ImmersionDepth()

float UVRCharacterMovementComponent::ImmersionDepth ( ) const
override

Definition at line 2430 of file VRCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ IsClimbing()

bool UVRBaseCharacterMovementComponent::IsClimbing ( ) const
inherited

Definition at line 1970 of file VRBaseCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ IsWithinClimbingEdgeTolerance()

bool UVRCharacterMovementComponent::IsWithinClimbingEdgeTolerance ( const FVector & CapsuleLocation,
const FVector & TestImpactPoint,
const float CapsuleRadius ) const
virtual

Definition at line 1906 of file VRCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ IsWithinEdgeTolerance()

bool UVRCharacterMovementComponent::IsWithinEdgeTolerance ( const FVector & CapsuleLocation,
const FVector & TestImpactPoint,
const float CapsuleRadius ) const
overridevirtual

Definition at line 1899 of file VRCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ MoveAlongFloor()

void UVRCharacterMovementComponent::MoveAlongFloor ( const FVector & InVelocity,
float DeltaSeconds,
FStepDownResult * OutStepDownResult )
overridevirtual

Definition at line 1593 of file VRCharacterMovementComponent.cpp.

Here is the call graph for this function:
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:

◆ MoveSmooth()

void UVRCharacterMovementComponent::MoveSmooth ( const FVector & InVelocity,
const float DeltaSeconds,
FStepDownResult * OutStepDownResult )
override

Definition at line 3612 of file VRCharacterMovementComponent.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.

◆ OnRegister()

void UVRCharacterMovementComponent::OnRegister ( )
overridevirtual

Definition at line 1380 of file VRCharacterMovementComponent.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 UVRCharacterMovementComponent::PhysFalling ( float deltaTime,
int32 Iterations )
overridevirtual

Definition at line 2595 of file VRCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ PhysFlying()

void UVRCharacterMovementComponent::PhysFlying ( float deltaTime,
int32 Iterations )
overridevirtual

Definition at line 2514 of file VRCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ PhysNavWalking()

void UVRCharacterMovementComponent::PhysNavWalking ( float deltaTime,
int32 Iterations )
overridevirtual

Definition at line 2966 of file VRCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ PhysSwimming()

void UVRCharacterMovementComponent::PhysSwimming ( float deltaTime,
int32 Iterations )
overridevirtual

Definition at line 3129 of file VRCharacterMovementComponent.cpp.

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

◆ PhysWalking()

void UVRCharacterMovementComponent::PhysWalking ( float deltaTime,
int32 Iterations )
overridevirtual

Definition at line 834 of file VRCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ PostPhysicsTickComponent()

void UVRCharacterMovementComponent::PostPhysicsTickComponent ( float DeltaTime,
FCharacterMovementComponentPostPhysicsTickFunction & ThisTickFunction )
override

Definition at line 3413 of file VRCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ ProcessLanded()

void UVRCharacterMovementComponent::ProcessLanded ( const FHitResult & Hit,
float remainingTime,
int32 Iterations )
overridevirtual

Definition at line 3368 of file VRCharacterMovementComponent.cpp.

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

◆ ReplicateMoveToServer()

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

Definition at line 1150 of file VRCharacterMovementComponent.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:

◆ SafeMoveUpdatedComponent() [1/2]

bool UVRCharacterMovementComponent::SafeMoveUpdatedComponent ( const FVector & Delta,
const FQuat & NewRotation,
bool bSweep,
FHitResult & OutHit,
ETeleportType Teleport = ETeleportType::None )

Definition at line 1562 of file VRCharacterMovementComponent.cpp.

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

◆ SafeMoveUpdatedComponent() [2/2]

FORCEINLINE_DEBUGGABLE bool UVRCharacterMovementComponent::SafeMoveUpdatedComponent ( const FVector & Delta,
const FRotator & NewRotation,
bool bSweep,
FHitResult & OutHit,
ETeleportType Teleport = ETeleportType::None )

Definition at line 1557 of file VRCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ ServerCheckClientErrorVR()

bool UVRCharacterMovementComponent::ServerCheckClientErrorVR ( float ClientTimeStamp,
float DeltaTime,
const FVector & Accel,
const FVector & ClientWorldLocation,
float ClientYaw,
const FVector & RelativeClientLocation,
UPrimitiveComponent * ClientMovementBase,
FName ClientBaseBoneName,
uint8 ClientMovementMode )
virtual

Check for Server-Client disagreement in position or other movement state important enough to trigger a client correction.

See also
ServerMoveHandleClientError()

Definition at line 3895 of file VRCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ ServerMove_PerformMovement()

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

The actual RPCs are passed to ACharacter, which wrap to the _Implementation and _Validate call here, to avoid Component RPC overhead. For example: Client: UCharacterMovementComponent::ServerMove(...) => Calls CharacterOwner->ServerMove(...) triggering RPC on server Server: ACharacter::ServerMove_Implementation(...) => Calls CharacterMovement->ServerMove_Implementation To override the client call to the server RPC (on CharacterOwner), override ServerMove(). To override the server implementation, override ServerMove_Implementation().

Definition at line 444 of file VRCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ ServerMoveHandleClientErrorVR()

void UVRCharacterMovementComponent::ServerMoveHandleClientErrorVR ( float ClientTimeStamp,
float DeltaTime,
const FVector & Accel,
const FVector & RelativeClientLocation,
float ClientYaw,
UPrimitiveComponent * ClientMovementBase,
FName ClientBaseBoneName,
uint8 ClientMovementMode )
virtual

Have the server check if the client is outside an error tolerance, and queue a client adjustment if so. If either GetPredictionData_Server_Character()->bForceClientUpdate or ServerCheckClientError() are true, the client adjustment will be sent. RelativeClientLocation will be a relative location if MovementBaseUtility::UseRelativePosition(ClientMovementBase) is true, or a world location if false.

See also
ServerCheckClientError()

Definition at line 3949 of file VRCharacterMovementComponent.cpp.

Here is the call graph for this function:
Here is the caller 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 UVRCharacterMovementComponent::SetUpdatedComponent ( USceneComponent * NewUpdatedComponent)
overridevirtual

Reimplemented from UVRBaseCharacterMovementComponent.

Definition at line 1533 of file VRCharacterMovementComponent.cpp.

◆ ShouldCheckForValidLandingSpot()

bool UVRCharacterMovementComponent::ShouldCheckForValidLandingSpot ( float DeltaTime,
const FVector & Delta,
const FHitResult & Hit ) const
overridevirtual

Definition at line 815 of file VRCharacterMovementComponent.cpp.

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

◆ SimulatedTick()

void UVRBaseCharacterMovementComponent::SimulatedTick ( float DeltaSeconds)
overridevirtualinherited

Definition at line 1424 of file VRBaseCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ SimulateMovement()

void UVRCharacterMovementComponent::SimulateMovement ( float DeltaSeconds)
override

Definition at line 3425 of file VRCharacterMovementComponent.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:

◆ StartSwimmingVR()

void UVRCharacterMovementComponent::StartSwimmingVR ( FVector OldLocation,
FVector OldVelocity,
float timeTick,
float remainingTime,
int32 Iterations )

Handle start swimming functionality

Parameters
OldLocation- Location on last tick
OldVelocity- velocity at last tick
timeTick- time since at OldLocation
remainingTime- DeltaTime to complete transition to swimming
Iterations- physics iteration count

Definition at line 3260 of file VRCharacterMovementComponent.cpp.

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

◆ StepUp()

bool UVRCharacterMovementComponent::StepUp ( const FVector & GravDir,
const FVector & Delta,
const FHitResult & InHit,
FStepDownResult * OutStepDownResult = NULL )
override

Definition at line 1676 of file VRCharacterMovementComponent.cpp.

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

◆ StoreSetTrackingPaused()

void UVRCharacterMovementComponent::StoreSetTrackingPaused ( bool bNewTrackingPaused)
overridevirtual

Reimplemented from UVRBaseCharacterMovementComponent.

Definition at line 78 of file VRCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ SwimVR()

float UVRCharacterMovementComponent::SwimVR ( FVector Delta,
FHitResult & Hit )

Definition at line 3297 of file VRCharacterMovementComponent.cpp.

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

◆ TickComponent()

void UVRCharacterMovementComponent::TickComponent ( float DeltaTime,
enum ELevelTick TickType,
FActorComponentTickFunction * ThisTickFunction )
virtual

Reimplemented from UVRBaseCharacterMovementComponent.

Definition at line 1397 of file VRCharacterMovementComponent.cpp.

◆ TryToLeaveNavWalking()

bool UVRCharacterMovementComponent::TryToLeaveNavWalking ( )
overridevirtual

Checks to see if the current location is not encroaching blocking geometry so the character can leave NavWalking. Restores collision settings and adjusts character location to avoid getting stuck in geometry. If it's not possible, MovementMode change will be delayed until character reach collision free spot.

Returns
True if movement mode was successfully changed

Definition at line 2476 of file VRCharacterMovementComponent.cpp.

◆ UnCrouch()

void UVRCharacterMovementComponent::UnCrouch ( bool bClientSimulation = false)
overridevirtual

Checks if default capsule size fits (no encroachment), and trigger OnEndCrouch() on the owner if successful.

Parameters
bClientSimulationtrue when called when bIsCrouched is replicated to non owned clients, to update collision cylinder and offset.

Definition at line 204 of file VRCharacterMovementComponent.cpp.

Here is the call graph for this function:

◆ UpdateBasedMovement()

void UVRCharacterMovementComponent::UpdateBasedMovement ( float DeltaSeconds)
overridevirtual

Definition at line 2132 of file VRCharacterMovementComponent.cpp.

Here is the caller graph for this function:

◆ 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 UVRCharacterMovementComponent::VRClimbStepUp ( const FVector & GravDir,
const FVector & Delta,
const FHitResult & InHit,
FStepDownResult * OutStepDownResult = nullptr )
overridevirtual

Reimplemented from UVRBaseCharacterMovementComponent.

Definition at line 1913 of file VRCharacterMovementComponent.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ AdditionalVRInputVector

FVector UVRBaseCharacterMovementComponent::AdditionalVRInputVector
inherited

Definition at line 203 of file VRBaseCharacterMovementComponent.h.

◆ bAllowMovementMerging

bool UVRCharacterMovementComponent::bAllowMovementMerging
EditDefaultsOnlyBlueprintReadOnly

UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "VRCharacterMovementComponent")

Definition at line 81 of file VRCharacterMovementComponent.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.

◆ 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.

◆ bRunClientCorrectionToHMD

bool UVRCharacterMovementComponent::bRunClientCorrectionToHMD
EditDefaultsOnlyBlueprintReadOnly

UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "VRCharacterMovementComponent")

Definition at line 89 of file VRCharacterMovementComponent.h.

◆ bRunControlRotationInMovementComponent

bool UVRBaseCharacterMovementComponent::bRunControlRotationInMovementComponent
inheritedBlueprintReadWriteEditAnywhere

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

Definition at line 373 of file VRBaseCharacterMovementComponent.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.

◆ CLIMB_SWEEP_EDGE_REJECT_DISTANCE

const float UVRCharacterMovementComponent::CLIMB_SWEEP_EDGE_REJECT_DISTANCE
static

Reject sweep impacts that are this close to the edge of the vertical portion of the capsule when performing vertical sweeps, and try again with a smaller capsule.

Definition at line 69 of file VRCharacterMovementComponent.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.

◆ 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.

◆ 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

UVRRootComponent* UVRCharacterMovementComponent::VRRootCapsule
BlueprintReadOnlyTransient

UPROPERTY(BlueprintReadOnly, Transient, Category = VRMovement)

Definition at line 66 of file VRCharacterMovementComponent.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: