FlameSystem · Debug

Flame Debug Draw

Flame System 각 엔티티의 현재 상태를 가시성 위주로 표시하는 디버그 모드입니다.

DEBUG · FLAME SYSTEM
Source Flammable Combustible Alarm start end Fuse ● owner transform
scroll
01 — 개요

디버그 드로우

각 Flame System 엔티티가 월드 공간에서 어떤 영역을 점유하고 있는지 시각적으로 확인하는 모드입니다. 엔티티 종류마다 고유한 색상으로 구분됩니다.

색상 범례
Source
Flammable
Combustible
Alarm
Fuse
기준점
소유자 transform 위치를 기준으로 shape을 그립니다.
Fuse 예외
Fuse만 transform과 무관하게 startend 선분으로 표시됩니다.
02 — Entities Debug Draw

엔티티별 렌더링

각 엔티티가 디버그 모드에서 어떻게 표시되는지를 정의합니다.

Source
화염 원천
소유자 transform 위치에 shape 형태로 표시합니다.
transform 기준shape
Flammable
가연성
소유자 transform 위치에 shape 형태로 표시합니다.
transform 기준shape
Combustible
연쇄 점화
소유자 transform 위치에 shape 형태로 표시합니다.
transform 기준shape
Alarm
감지 알람
소유자 transform 위치에 shape 형태로 표시합니다.
transform 기준shape
Fuse
도화선
start end start — end
다른 엔티티와 달리 소유자 transform무관하게, Segment의 startend를 직접 잇는 선분으로 표시합니다.
transform 무관start — end 선분
transform 독립  Fuse는 Segment 타입으로 정의되므로, 소유자 오브젝트의 위치가 변해도 표시 위치에 영향을 주지 않습니다. 항상 Segment의 start/end 좌표를 기준으로 표시됩니다.
03 — 요약

렌더링 기준 정리

Entity
위치 기준
표시 형태
Source
소유자 transform
shape
Flammable
소유자 transform
shape
Combustible
소유자 transform
shape
Alarm
소유자 transform
shape
Fuse
transform 무관
startend 선분