CARLA
Public Member Functions | Private Attributes | List of all members
AWalkerController Class Reference

#include <WalkerController.h>

+ Inheritance diagram for AWalkerController:
+ Collaboration diagram for AWalkerController:

Public Member Functions

void ApplyWalkerControl (const FWalkerControl &InControl)
 
 AWalkerController (const FObjectInitializer &ObjectInitializer)
 
void BlendPose (float Blend)
 
void GetBonesTransform (FWalkerBoneControlOut &WalkerBones)
 
float GetMaximumWalkSpeed () const
 Maximum walk speed allowed in centimetres per second. More...
 
void GetPoseFromAnimation ()
 
const FWalkerControl GetWalkerControl () const
 
void OnPossess (APawn *InPawn) override
 
void SetBonesTransform (const FWalkerBoneControlIn &WalkerBones)
 
void Tick (float DeltaSeconds) override
 

Private Attributes

FWalkerControl Control
 

Detailed Description

Definition at line 23 of file WalkerController.h.

Constructor & Destructor Documentation

◆ AWalkerController()

AWalkerController::AWalkerController ( const FObjectInitializer &  ObjectInitializer)

Definition at line 18 of file WalkerController.cpp.

Member Function Documentation

◆ ApplyWalkerControl()

void AWalkerController::ApplyWalkerControl ( const FWalkerControl InControl)

Definition at line 47 of file WalkerController.cpp.

References Control.

◆ BlendPose()

void AWalkerController::BlendPose ( float  Blend)

Definition at line 128 of file WalkerController.cpp.

References UWalkerAnim::Blend, and Character.

Referenced by CarlaReplayerHelper::ProcessReplayerWalkerBones().

+ Here is the caller graph for this function:

◆ GetBonesTransform()

void AWalkerController::GetBonesTransform ( FWalkerBoneControlOut WalkerBones)

◆ GetMaximumWalkSpeed()

float AWalkerController::GetMaximumWalkSpeed ( ) const
inline

Maximum walk speed allowed in centimetres per second.

Definition at line 37 of file WalkerController.h.

Referenced by OnPossess(), and Tick().

+ Here is the caller graph for this function:

◆ GetPoseFromAnimation()

void AWalkerController::GetPoseFromAnimation ( )

Definition at line 148 of file WalkerController.cpp.

References Character, and UWalkerAnim::Snap.

◆ GetWalkerControl()

const FWalkerControl AWalkerController::GetWalkerControl ( ) const
inline

Definition at line 46 of file WalkerController.h.

References WalkerBones.

◆ OnPossess()

void AWalkerController::OnPossess ( APawn InPawn)
override

Definition at line 24 of file WalkerController.cpp.

References Character, and GetMaximumWalkSpeed().

+ Here is the call graph for this function:

◆ SetBonesTransform()

void AWalkerController::SetBonesTransform ( const FWalkerBoneControlIn WalkerBones)

Definition at line 87 of file WalkerController.cpp.

References FWalkerBoneControlIn::BoneTransforms, Character, and UWalkerAnim::Snap.

Referenced by CarlaReplayerHelper::ProcessReplayerWalkerBones().

+ Here is the caller graph for this function:

◆ Tick()

void AWalkerController::Tick ( float  DeltaSeconds)
override

Definition at line 168 of file WalkerController.cpp.

References Character, Control, FWalkerControl::Direction, GetMaximumWalkSpeed(), FWalkerControl::Jump, and FWalkerControl::Speed.

+ Here is the call graph for this function:

Member Data Documentation

◆ Control

FWalkerControl AWalkerController::Control
private

Definition at line 65 of file WalkerController.h.

Referenced by ApplyWalkerControl(), and Tick().


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