FacingAngle2DEntity
@zylem/game-lib / behavior / FacingAngle2DEntity
Interface: FacingAngle2DEntity
Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/shooter-fire-DGripl0z.d.ts:15
Minimal entity slice needed to derive a 2D facing angle. Structurally
satisfied by Shooter2DSourceEntity and the engine entity.
Properties
_rotation2DAngle?
optional_rotation2DAngle?:number
Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/shooter-fire-DGripl0z.d.ts:28
Cached Z rotation maintained by 2D rotation helpers.
body?
optionalbody?: \{rotation?: () =>object; \} |null
Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/shooter-fire-DGripl0z.d.ts:19
topDownMovementState?
optionaltopDownMovementState?:object
Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/shooter-fire-DGripl0z.d.ts:16
facingAngle
facingAngle:
number