Skip to content

FMjEntityRecord

Cached non-articulation entity metadata: a UMjBody whose owner is

not an AMjArticulation (props, free-jointed scene objects, ...). Built once at session start (PostCompile) and consumed by UURLabZmqPublishTransport for "scene//state" PUB topics and by the step server for the entities block in step replies. Articulations have their own typed cache; this struct is for everything else dynamic in the world.

Attribute Value
Kind Struct

Properties

Public Properties

Property Type Description
MjId int32 UMjBody MjID after compile.
Name FString Compiled name (the same string mj_id2name returns).
bHasFreeBase bool True if the body owns a single mjJNT_FREE joint (qpos[7]/qvel[6]).
BodyComp TWeakObjectPtr<UMjBody> Weak ref kept for diagnostics; consumers should index by MjId.

MjId

UMjBody MjID after compile.

  • Type: int32

Name

Compiled name (the same string mj_id2name returns).

  • Type: FString

bHasFreeBase

True if the body owns a single mjJNT_FREE joint (qpos[7]/qvel[6]).

  • Type: bool

BodyComp

Weak ref kept for diagnostics; consumers should index by MjId.