7#include "ConstraintDrives.generated.h"
28 UPROPERTY(EditAnywhere, AdvancedDisplay, Category = Constraint, meta = (ClampMin =
"0.0"))
32 UPROPERTY(EditAnywhere, AdvancedDisplay, Category = Constraint, meta = (ClampMin = "0.0"))
36 UPROPERTY(EditAnywhere, AdvancedDisplay, Category = Constraint, meta = (ClampMin = "0.0"))
40 UPROPERTY(EditAnywhere, Category = Constraint)
44 UPROPERTY(EditAnywhere, Category = Constraint)
88 bool bAccelerationMode =
true;
90#if WITH_EDITORONLY_DATA
92 UPROPERTY(config, meta = (DeprecatedProperty, DeprecationMessage =
"Enable/disable of drives is done inside the individual constraint drives."))
117 ENGINE_API void SetAccelerationMode(
bool bAccelerationMode);
158 bool IsOrientationDriveEnabled()
const
174 return TwistDrive.bEnableVelocityDrive || SwingDrive.bEnableVelocityDrive;
178 return SlerpDrive.bEnableVelocityDrive;
201 ENGINE_API void SetAccelerationMode(
bool bAccelerationMode);
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
return true
Definition ExternalRpcRegistry.cpp:601
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UENUM(...)
Definition ObjectMacros.h:749
#define USTRUCT(...)
Definition ObjectMacros.h:746
USkinnedMeshComponent float
Definition SkinnedMeshComponent.h:60
Definition EnumAsByte.h:22
Definition ConstraintDrives.h:11
Type
Definition ConstraintDrives.h:13
@ SLERP
Definition ConstraintDrives.h:15
@ TwistAndSwing
Definition ConstraintDrives.h:17
Definition ConstraintDrives.h:125
bool IsVelocityDriveEnabled() const
Definition ConstraintDrives.h:170
Definition ConstraintDrives.h:24
uint8 bEnablePositionDrive
Definition ConstraintDrives.h:41
uint8 bEnableVelocityDrive
Definition ConstraintDrives.h:45
Definition ConstraintInstance.h:255
Definition ConstraintDrives.h:66
bool IsPositionDriveEnabled() const
Definition ConstraintDrives.h:99
bool IsVelocityDriveEnabled() const
Definition ConstraintDrives.h:104