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 (
false)
- Type: FVector
- Editor: ✏️ EditAnywhere
- Blueprint: 🔵 ReadWrite
- Category: MuJoCo|Inertial|Spatial Pose
Quat¶
Override-enabled (
false)
- Type: FQuat
- Editor: ✏️ EditAnywhere
- Blueprint: 🔵 ReadWrite
- Category: MuJoCo|Inertial|Orientation
mass¶
Override-enabled (
bOverride_mass)
- Type: float
- Editor: ✏️ EditAnywhere
- Blueprint: 🔵 ReadWrite
- Category: MuJoCo|Inertial
verride¶
Override-enabled (
bOverride_fullinertia)
- Type: o
- Editor: ✏️ EditAnywhere
- Blueprint: 🔵 ReadWrite
- Category: MuJoCo|Inertial
Functions¶
Public Functions¶
General¶
| Function | Returns | Description |
|---|---|---|
UMjInertial() |
Default constructor. | |
ImportFromXml() |
void | Imports properties from a MuJoCo XML node. |
RegisterToSpec() |
void | Registers/Applies this inertial to the parent body in the spec. |
ImportFromXml¶
Imports properties from a MuJoCo XML node.
- Signature:
ImportFromXml(const class FXmlNode*Node, const struct FMjCompilerSettings& CompilerSettings)
RegisterToSpec¶
Registers/Applies this inertial to the parent body in the spec.
- Signature:
RegisterToSpec(class FMujocoSpecWrapper& Wrapper,mjsBody*ParentBody)