rigComponent 0.1.1
RigKit pack API - rigComponent
Loading...
Searching...
No Matches
rigkit::ecs::COrbitDrive Struct Reference

Orbit framing params (yaw speed + spherical eye around target). More...

#include <rigComponent/src/COrbitDrive.h>

Public Attributes

float height = 2.1f
 Legacy cylindrical framing; prefer pitch.
float pitch = 0.36f
 Radians; clamp ~±1.4 in systems / nav.
float yaw = 0.f
 Runtime; not serialized / not in GetProperties.

Detailed Description

Orbit framing params (yaw speed + spherical eye around target).

SOrbitDrive poses CTransform each Update when enabled. Eye = target + (sin(yaw)*cos(pitch)*r, sin(pitch)*r, cos(yaw)*cos(pitch)*r). yaw is a runtime cache (not reflected).


The documentation for this struct was generated from the following file:
  • packs/rigComponent/src/COrbitDrive.h