#include <WalkerController.h>
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 |
Definition at line 23 of file WalkerController.h.
AWalkerController::AWalkerController | ( | const FObjectInitializer & | ObjectInitializer | ) |
Definition at line 18 of file WalkerController.cpp.
void AWalkerController::ApplyWalkerControl | ( | const FWalkerControl & | InControl | ) |
Definition at line 47 of file WalkerController.cpp.
References Control.
void AWalkerController::BlendPose | ( | float | Blend | ) |
Definition at line 128 of file WalkerController.cpp.
References UWalkerAnim::Blend, and Character.
Referenced by CarlaReplayerHelper::ProcessReplayerWalkerBones().
void AWalkerController::GetBonesTransform | ( | FWalkerBoneControlOut & | WalkerBones | ) |
Definition at line 52 of file WalkerController.cpp.
References FWalkerBoneControlOut::BoneTransforms, Character, FWalkerBoneControlOutData::Component, FWalkerBoneControlOutData::Relative, and FWalkerBoneControlOutData::World.
|
inline |
Maximum walk speed allowed in centimetres per second.
Definition at line 37 of file WalkerController.h.
Referenced by OnPossess(), and Tick().
void AWalkerController::GetPoseFromAnimation | ( | ) |
Definition at line 148 of file WalkerController.cpp.
References Character, and UWalkerAnim::Snap.
|
inline |
Definition at line 46 of file WalkerController.h.
References WalkerBones.
|
override |
Definition at line 24 of file WalkerController.cpp.
References Character, and GetMaximumWalkSpeed().
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().
|
override |
Definition at line 168 of file WalkerController.cpp.
References Character, Control, FWalkerControl::Direction, GetMaximumWalkSpeed(), FWalkerControl::Jump, and FWalkerControl::Speed.
|
private |
Definition at line 65 of file WalkerController.h.
Referenced by ApplyWalkerControl(), and Tick().