Skip to content

UMjInertial

Attribute Value
Kind Class
UE Macro UCLASS
Inherits UMjComponent
Blueprint Spawnable ✅ Yes

Properties

Public Properties

Property Type Description
Pos FVector
Quat FQuat
mass float
verride o

Pos

Override-enabled (bOverride_Pos)

  • Type: FVector
  • Editor: ✏️ EditAnywhere
  • Blueprint: 🔵 ReadWrite
  • Category: MuJoCo|MjInertial|Spatial Pose

Quat

Override-enabled (bOverride_Quat)

  • Type: FQuat
  • Editor: ✏️ EditAnywhere
  • Blueprint: 🔵 ReadWrite
  • Category: MuJoCo|MjInertial|Orientation

mass

Override-enabled (bOverride_mass)

  • Type: float
  • Editor: ✏️ EditAnywhere
  • Blueprint: 🔵 ReadWrite
  • Category: MuJoCo|MjInertial

verride

Override-enabled (bOverride_fullinertia)

  • Type: o
  • Editor: ✏️ EditAnywhere
  • Blueprint: 🔵 ReadWrite
  • Category: MuJoCo|MjInertial

Functions

Public Functions

General

Function Returns Description
UMjInertial() Default constructor.
ImportFromXml() void Imports properties from a MuJoCo XML node.
Bind() void Binds this component to the live MuJoCo simulation.
RegisterToSpec() void Registers/Applies this inertial to the parent body in the spec.
UMjInertial

Default constructor.

  • Signature: UMjInertial()
ImportFromXml

Imports properties from a MuJoCo XML node.

  • Signature: ImportFromXml(const class FXmlNode* Node, const struct FMjCompilerSettings& CompilerSettings)
Bind

Binds this component to the live MuJoCo simulation.

  • Signature: Bind(mjModel* model, mjData* data, const FString& Prefix)
RegisterToSpec

Registers/Applies this inertial to the parent body in the spec.