UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FConstraintDrive Struct Reference

#include <ConstraintDrives.h>

Public Member Functions

ENGINE_API FConstraintDrive ()
 

Public Attributes

float Stiffness
 
float Damping
 
float MaxForce
 
uint8 bEnablePositionDrive: 1
 
uint8 bEnableVelocityDrive: 1
 

Friends

struct FConstraintInstance
 
struct FLinearDriveConstraint
 
struct FAngularDriveConstraint
 

Constructor & Destructor Documentation

◆ FConstraintDrive()

FConstraintDrive::FConstraintDrive ( )

Friends And Related Symbol Documentation

◆ FAngularDriveConstraint

◆ FConstraintInstance

Updates physx drive with properties from unreal

◆ FLinearDriveConstraint

Member Data Documentation

◆ bEnablePositionDrive

uint8 FConstraintDrive::bEnablePositionDrive

Enables/Disables position drive (orientation if using angular drive)

◆ bEnableVelocityDrive

uint8 FConstraintDrive::bEnableVelocityDrive

Enables/Disables velocity drive (angular velocity if using angular drive)

◆ Damping

float FConstraintDrive::Damping

The damping strength of the drive. Force proportional to the velocity error. In force mode the unit is kg * cm / s^-1. In acceleration mode the unit is cm / s^-1.

◆ MaxForce

float FConstraintDrive::MaxForce

The force limit of the drive.

◆ Stiffness

float FConstraintDrive::Stiffness

The spring strength of the drive. Force proportional to the position error. In force mode the unit is kg * cm / s^-2. In acceleration mode the unit is cm / s^-2.


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