|
RapidGameFramework
Reusable Godot managers for data-driven small games
|
Stores saveable 2D physics bodies and their spatial metadata. More...
Go to the source code of this file.
Namespaces | |
| namespace | spatial_state |
Variables | |
| spatial_state.Dictionary | |
| Create and store a body dictionary. | |
| spatial_state.body | |
| spatial_state.id | |
| Return a stored body copy. | |
| spatial_state.results | |
| Remove a body by id. | |
| spatial_state.a_layer | |
| Return true when two bodies should be tested for collision. | |
| spatial_state.a_mask | |
| spatial_state.b_layer | |
| spatial_state.b_mask | |
| spatial_state.bodies = state.get("bodies", {}).duplicate(true) | |
| Return saveable world state. | |
Stores saveable 2D physics bodies and their spatial metadata.
Definition in file spatial_state.gd.