state
cosmic_warp.core.state
State
Dynamic state variables for spacecraft states (float64).
allocate_state
Allocate state storage for all environments and bodies.
States are stored in a flat array of length num_envs * num_bodies. Use entity_id = env_id * num_bodies + body_id for indexing.