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

Stores info on the type of motor that will be used for a given bone. More...

Public Member Functions

Functions
bool GetbIsLocalSimulation () const
 Whether the drive targets are in world space or local.
void SetbIsLocalSimulation (bool Value)
 Whether the drive targets are in world space or local.
FPhysicalAnimationData & opAssign (FPhysicalAnimationData Other)

Public Attributes

PhysicalAnimation
float32 AngularVelocityStrength
 The strength used to correct angular velocity error.
float32 PositionStrength
 The strength used to correct linear position error. Only used for non-local simulation.
float32 VelocityStrength
 The strength used to correct linear velocity error. Only used for non-local simulation.
float32 MaxLinearForce
 The max force used to correct linear errors.
float32 MaxAngularForce
 The max force used to correct angular errors.
float32 OrientationStrength
 The strength used to correct orientation error.
Variables
bool bIsLocalSimulation

Detailed Description

Stores info on the type of motor that will be used for a given bone.

Member Function Documentation

◆ GetbIsLocalSimulation()

bool GetbIsLocalSimulation ( ) const

Whether the drive targets are in world space or local.

◆ opAssign()

◆ SetbIsLocalSimulation()

void SetbIsLocalSimulation ( bool Value)

Whether the drive targets are in world space or local.

Member Data Documentation

◆ AngularVelocityStrength

float32 AngularVelocityStrength

The strength used to correct angular velocity error.

◆ bIsLocalSimulation

bool bIsLocalSimulation

◆ MaxAngularForce

float32 MaxAngularForce

The max force used to correct angular errors.

◆ MaxLinearForce

float32 MaxLinearForce

The max force used to correct linear errors.

◆ OrientationStrength

float32 OrientationStrength

The strength used to correct orientation error.

◆ PositionStrength

float32 PositionStrength

The strength used to correct linear position error. Only used for non-local simulation.

◆ VelocityStrength

float32 VelocityStrength

The strength used to correct linear velocity error. Only used for non-local simulation.