mjtCamLight — tracking mode for camera and light. From MuJoCo's headers, as numbers. All 5 values carry a number in the header.
Summary
Functions
mjCAMLIGHT_FIXED is 0 — pos and rot fixed in body.
mjCAMLIGHT_TARGETBODY is 3 — pos fixed in body, rot tracks target body.
mjCAMLIGHT_TARGETBODYCOM is 4 — pos fixed in body, rot tracks target subtree com.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
mjCAMLIGHT_TRACK is 1 — pos tracks body, rot fixed in global.
mjCAMLIGHT_TRACKCOM is 2 — pos tracks subtree com, rot fixed in body.
Every value, as {name, integer}, in the order the header lists them.
Types
@type t() :: integer()
Functions
@spec fixed() :: 0
mjCAMLIGHT_FIXED is 0 — pos and rot fixed in body.
@spec targetbody() :: 3
mjCAMLIGHT_TARGETBODY is 3 — pos fixed in body, rot tracks target body.
@spec targetbodycom() :: 4
mjCAMLIGHT_TARGETBODYCOM is 4 — pos fixed in body, rot tracks target subtree com.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
@spec track() :: 1
mjCAMLIGHT_TRACK is 1 — pos tracks body, rot fixed in global.
@spec trackcom() :: 2
mjCAMLIGHT_TRACKCOM is 2 — pos tracks subtree com, rot fixed in body.
Every value, as {name, integer}, in the order the header lists them.