Skip to content

UMjInputMapping

Binds Enhanced Input Actions directly to MuJoCo Actuators.

Attach this to a Pawn or Character that possesses an MjArticulation.

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

Properties

Public Properties

Property Type Description
DefaultMappingContext UInputMappingContext* The Mapping Context to add to the Player Controller (optional).
Priority int32 Priority for the mapping context.
Bindings TArray<FMjInputBinding> List of bindings to setup.
TargetArticulation AMjArticulation* The articulation this input mapping drives.

DefaultMappingContext

The Mapping Context to add to the Player Controller (optional).

  • Type: UInputMappingContext*
  • Editor: ✏️ EditAnywhere
  • Blueprint: 🔵 ReadWrite
  • Category: MuJoCo|Input

Priority

Priority for the mapping context.

  • Type: int32
  • Editor: ✏️ EditAnywhere
  • Blueprint: 🔵 ReadWrite
  • Category: MuJoCo|Input

Bindings

List of bindings to setup.

  • Type: TArray<FMjInputBinding>
  • Editor: ✏️ EditAnywhere
  • Blueprint: 🔵 ReadWrite
  • Category: MuJoCo|Input

TargetArticulation

The articulation this input mapping drives.

  • Type: AMjArticulation*
  • Editor: ✏️ EditAnywhere
  • Blueprint: 🔵 ReadWrite
  • Category: MuJoCo|Input