Debug Draw - Geocube101/Iota-Modular-Jump-Gates GitHub Wiki
Debug draw draws extra markers in-game to display various parts of a jump gate.
This setting is global and client-side.
This system should only be enabled when needed as it can degrade performance for large or complex jump gates.
A jump gate with debug draw enabled:
The markers and their meanings:
- White Box: The bounding box of the gate's jump space ellipsoid.
- Red Ellipsoid: The shearing ellipse used to destroy partially contained grids. This will not display if LenientJumps is true.
- Green Ellipsoid: The gate's jump space ellipsoid. Constructs within this ellipsoid will be jumped. This will be colored red if no controller is attached to this gate.
- White Sphere: (Not seen here) The collision sphere where entities may be considered for jump
- Cyan Sphere: (Not seen here) The broadcast sphere inside which all players see the gate countdown and warning messages
- Yellow Lines: The rays cast from each jump gate drive used to calculate intersections.
- Purple Line: The normal vector used for aligning gate animations. This will not be shown if the gate's controller has the vector normal override disabled.
A closeup of the previous image
The markers and their meanings:
- Cyan Boxes: Marks the intersection of two drive rays. For performance, only the first 250 will be shown.
- Red/Green/Blue Pivot Marker: Shows the gate's jump space absolute orientation. This value is independent of the gate's selected endpoint.
- Magenta/Yellow/Cyan Pivot Marker: Shows the gate's jump space endpoint aligned orientation. This value is dependent on the gate's selected endpoint.
Another bright magenta line will appear when the gate is jumping. This line marks where the gate is jumping to.