Base Robot floating movement class.
More...
#include <RRFloatingMovementComponent.h>
Base Robot floating movement class.
This is MovementComponent to move Robot with UE's AIController.
This is useful to develop/test higher level logics such as multi robot coordination without emulate low level navigation.
Support 2D movement with stick pawn to the floor.
- See also
- UFloatingPawnMovement
UCLASS(ClassGroup = (Custom), meta = (BlueprintSpawnableComponent))
◆ URRFloatingMovementComponent() [1/2]
URRFloatingMovementComponent::URRFloatingMovementComponent |
( |
| ) |
|
◆ URRFloatingMovementComponent() [2/2]
URRFloatingMovementComponent::URRFloatingMovementComponent |
( |
const FObjectInitializer & |
ObjectInitializer | ) |
|
◆ CalculateRVOAvoidanceVelocity()
void URRFloatingMovementComponent::CalculateRVOAvoidanceVelocity |
( |
float |
InDeltaTime | ) |
|
|
protected |
◆ GetPenetrationAdjustment()
virtual FVector URRFloatingMovementComponent::GetPenetrationAdjustment |
( |
const FHitResult & |
Hit | ) |
const |
|
protectedvirtual |
◆ Is2DMovement()
FORCEINLINE bool URRFloatingMovementComponent::Is2DMovement |
( |
| ) |
const |
|
inline |
◆ IsExceedingMaxSpeed()
virtual bool URRFloatingMovementComponent::IsExceedingMaxSpeed |
( |
float |
InMaxSpeed | ) |
const |
|
overrideprotectedvirtual |
◆ OnRegister()
virtual void URRFloatingMovementComponent::OnRegister |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ PostProcessRVOAvoidanceVelocity()
virtual void URRFloatingMovementComponent::PostProcessRVOAvoidanceVelocity |
( |
FVector & |
InNewVelocity | ) |
|
|
inlineprotectedvirtual |
◆ Set2DMovement()
void URRFloatingMovementComponent::Set2DMovement |
( |
bool |
bEnabled | ) |
|
|
inline |
◆ SetPenetrationPullbackDistance()
void URRFloatingMovementComponent::SetPenetrationPullbackDistance |
( |
float |
PullbackDistance | ) |
|
|
inline |
◆ SetRVOAvoidanceEnabled()
void URRFloatingMovementComponent::SetRVOAvoidanceEnabled |
( |
bool |
bEnabled | ) |
|
◆ SetRVOAvoidanceVelocityLock()
void URRFloatingMovementComponent::SetRVOAvoidanceVelocityLock |
( |
float |
InDuration | ) |
|
◆ SetUpdatedComponent()
virtual void URRFloatingMovementComponent::SetUpdatedComponent |
( |
USceneComponent * |
InNewUpdatedComponent | ) |
|
|
overridevirtual |
◆ SetupDefault()
void URRFloatingMovementComponent::SetupDefault |
( |
| ) |
|
◆ SetUseAccelerationForPaths()
void URRFloatingMovementComponent::SetUseAccelerationForPaths |
( |
bool |
bEnabled | ) |
|
|
inline |
◆ SetUseDecelerationForPaths()
void URRFloatingMovementComponent::SetUseDecelerationForPaths |
( |
bool |
bEnabled | ) |
|
|
inline |
◆ StopMovementImmediately()
virtual void URRFloatingMovementComponent::StopMovementImmediately |
( |
| ) |
|
|
overridevirtual |
◆ TickComponent()
virtual void URRFloatingMovementComponent::TickComponent |
( |
float |
InDeltaTime, |
|
|
enum ELevelTick |
InTickType, |
|
|
FActorComponentTickFunction * |
InTickFunction |
|
) |
| |
|
overrideprotectedvirtual |
◆ UpdateDefaultAvoidance()
void URRFloatingMovementComponent::UpdateDefaultAvoidance |
( |
| ) |
|
|
protected |
◆ UseDecelerationForPathFollowing()
FORCEINLINE bool URRFloatingMovementComponent::UseDecelerationForPathFollowing |
( |
| ) |
const |
|
inline |
◆ AngularVelocity
FVector URRFloatingMovementComponent::AngularVelocity = FVector::ZeroVector |
◆ b2DMovement
uint8 URRFloatingMovementComponent::b2DMovement |
|
private |
◆ bRVOAvoidanceRecentlyUpdated
uint8 URRFloatingMovementComponent::bRVOAvoidanceRecentlyUpdated |
◆ bSweepEnabled
uint8 URRFloatingMovementComponent::bSweepEnabled |
|
private |
◆ bUseDecelerationForPaths
uint8 URRFloatingMovementComponent::bUseDecelerationForPaths |
|
private |
◆ bUseRVOAvoidance
uint8 URRFloatingMovementComponent::bUseRVOAvoidance |
◆ MaxAngularSpeed
float URRFloatingMovementComponent::MaxAngularSpeed = 360.f |
◆ PenetrationPullbackDistance
float URRFloatingMovementComponent::PenetrationPullbackDistance = 0.f |
|
private |
◆ RVOAvoidanceLockTimeout
float URRFloatingMovementComponent::RVOAvoidanceLockTimeout = 0.f |
◆ RVOAvoidanceLockVelocity
FVector URRFloatingMovementComponent::RVOAvoidanceLockVelocity = FVector::ZeroVector |
Forced avoidance velocity if AvoidanceLockTimer > 0.
UPROPERTY()
◆ RVOAvoidanceManager
TObjectPtr<UAvoidanceManager> URRFloatingMovementComponent::RVOAvoidanceManager = nullptr |
◆ RVOAvoidanceUID
int32 URRFloatingMovementComponent::RVOAvoidanceUID = 0 |
◆ RVOAvoidanceWeight
float URRFloatingMovementComponent::RVOAvoidanceWeight = 0.5f |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/rapyutasimulationplugins/checkouts/devel/Source/RapyutaSimulationPlugins/Public/Drives/RRFloatingMovementComponent.h