9#include <util/ue-header-guard-begin.h>
10#include "VehicleAnimationInstance.h"
11#include <util/ue-header-guard-end.h>
13#include "CarlaVehicleAnimationInstance.generated.h"
28 virtual void NativeUpdateAnimation(
float DeltaSeconds)
override;
31 const FWheelAnimationData *
GetWheelPose(int32 WheelIndex)
const;
36 UPROPERTY(EditDefaultsOnly, Category =
"CARLA Wheeled Vehicle")
37 float MaxTravelSpeed = 15000.0f;
42 FVector RestLocation = FVector::ZeroVector;
45 FVector LastLocation = FVector::ZeroVector;
48 float SpinAngle = 0.0f;
56 void TrackWheelLocations();
68 bool bRollingWheels =
false;
70 bool bWasWheelAnimationOverridden =
false;
Base class for CARLA wheeled vehicles.
FWheelAnimationData GetWheelPose(int32 WheelIndex) const
The pose shown for a wheel: the overridden one, otherwise Chaos's, otherwise the one last drawn.
TArray< FWheelAnimationData > GetWheelPoses() const
GetWheelPose for every wheel.
Parent class of the vehicle animation blueprints.