Skip to content

FMjBodyKinematics

Stores kinematics (Position/Velocity) for a single joint or body (if free joint).

We store as double to prevent drift during playback, though float is often sufficient.

Attribute Value
Kind Struct
UE Macro USTRUCT

Properties

Public Properties

Property Type Description
QPos TArray<double> Joint positions (qpos). Size depends on joint type (1 for hinge, 7 for free).
QVel TArray<double> Joint velocities (qvel).

QPos

Joint positions (qpos). Size depends on joint type (1 for hinge, 7 for free).

  • Type: TArray
  • Editor: 👁 VisibleAnywhere
  • Blueprint: 🟢 ReadOnly

QVel

Joint velocities (qvel).

  • Type: TArray
  • Editor: 👁 VisibleAnywhere
  • Blueprint: 🟢 ReadOnly