Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FAngularDriveConstraint
Description
Updates physx drive with properties from unreal These functions may leave the struct in an invalid state unless calling UpdatePhysX* functions. They are only meant as helpers for FConstraintInstance
| Name | SetOrientationDriveTwistAndSwing |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ConstraintDrives.h |
| Include Path | #include "PhysicsEngine/ConstraintDrives.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/ConstraintDrives.cpp |
void SetOrientationDriveTwistAndSwing
(
bool InEnableTwistDrive,
bool InEnableSwingDrive
)