Godot
Godot
Terminology
- Node: Anything in the game. Can represent a point in space, a sprite, a collision area, a sound, etc.
- Scene: A collection of nodes, and also a node itself.
- Signal: Based on the observer pattern, these are events that can be "emitted" and that other nodes can listen for.
Vector Math
- Vectors:
- Addition:
- Subtraction:
- Dot product: If one entity is facing another or in its FOV.
- Cross product: Get the normal of a plane.