UMjConnectEquality¶
| Attribute | Value |
|---|---|
| Kind | Class |
| UE Macro | UCLASS |
| Inherits | UMjEquality |
| Blueprint Spawnable | ✅ Yes |
Properties¶
Public Properties¶
| Property | Type | Description |
|---|---|---|
site1 |
FString |
|
site2 |
FString |
|
active |
float |
|
torquescale |
float |
|
verride |
o |
|
EqualityType |
EMjEqualityType | The type of equality constraint. |
Obj1 |
FString |
Name of the first object (body, joint, or tendon). |
Obj2 |
FString |
Name of the second object (body, joint, or tendon). |
site1¶
Override-enabled (
bOverride_site1)
- Type: FString
- Editor: ✏️ EditAnywhere
- Blueprint: 🔵 ReadWrite
- Category: MuJoCo|MjEquality
site2¶
Override-enabled (
bOverride_site2)
- Type: FString
- Editor: ✏️ EditAnywhere
- Blueprint: 🔵 ReadWrite
- Category: MuJoCo|MjEquality
active¶
Override-enabled (
bOverride_active)
- Type: float
- Editor: ✏️ EditAnywhere
- Blueprint: 🔵 ReadWrite
- Category: MuJoCo|MjEquality
torquescale¶
Override-enabled (
bOverride_torquescale)
- Type: float
- Editor: ✏️ EditAnywhere
- Blueprint: 🔵 ReadWrite
- Category: MuJoCo|MjEquality
verride¶
Override-enabled (
bOverride_polycoef)
- Type: o
- Editor: ✏️ EditAnywhere
- Blueprint: 🔵 ReadWrite
- Category: MuJoCo|MjEquality
EqualityType¶
The type of equality constraint.
- Type: EMjEqualityType
- Editor: ✏️ EditAnywhere
- Blueprint: 🔵 ReadWrite
- Category: MuJoCo|Equality
Obj1¶
Name of the first object (body, joint, or tendon).
- Type: FString
- Editor: ✏️ EditAnywhere
- Blueprint: 🔵 ReadWrite
- Category: MuJoCo|Equality
Obj2¶
Name of the second object (body, joint, or tendon).
- Type: FString
- Editor: ✏️ EditAnywhere
- Blueprint: 🔵 ReadWrite
- Category: MuJoCo|Equality
Functions¶
Public Functions¶
General¶
| Function | Returns | Description |
|---|---|---|
ExportTo() |
void | Exports properties to a pre-created MuJoCo spec equality structure. |
RegisterToSpec() |
void | Registers this equality constraint to the MuJoCo spec. |
ImportFromXml() |
void | Imports properties from a raw XML node. |
ExportTo¶
Exports properties to a pre-created MuJoCo spec equality structure.
- Signature:
ExportTo(mjsEquality*Element)
RegisterToSpec¶
Registers this equality constraint to the MuJoCo spec.
- Signature:
RegisterToSpec(class FMujocoSpecWrapper& Wrapper,mjsBody*ParentBody)
ImportFromXml¶
Imports properties from a raw XML node.
- Signature:
ImportFromXml(const class FXmlNode*Node, const struct FMjCompilerSettings& CompilerSettings)