G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FConstraintDrive Struct Reference

Public Member Functions

Functions
void SetbEnablePositionDrive (bool Value)
 Enables/Disables position drive (orientation if using angular drive).
void SetbEnableVelocityDrive (bool Value)
 Enables/Disables velocity drive (angular velocity if using angular drive).
FConstraintDrive & opAssign (FConstraintDrive Other)

Public Attributes

Constraint
float32 Damping
 The damping strength of the drive. Force proportional to the velocity error.
float32 MaxForce
 The force limit of the drive.
float32 Stiffness
 The spring strength of the drive. Force proportional to the position error.

Member Function Documentation

◆ opAssign()

FConstraintDrive & opAssign ( FConstraintDrive Other)

◆ SetbEnablePositionDrive()

void SetbEnablePositionDrive ( bool Value)

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

◆ SetbEnableVelocityDrive()

void SetbEnableVelocityDrive ( bool Value)

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

Member Data Documentation

◆ Damping

float32 Damping

The damping strength of the drive. Force proportional to the velocity error.

◆ MaxForce

float32 MaxForce

The force limit of the drive.

◆ Stiffness

float32 Stiffness

The spring strength of the drive. Force proportional to the position error.