RapidGameFramework
Reusable Godot managers for data-driven small games
Loading...
Searching...
No Matches
spatial_state Namespace Reference

Variables

 Dictionary
 Create and store a body dictionary.
 
 body
 
 id
 Return a stored body copy.
 
 results
 Remove a body by id.
 
 a_layer
 Return true when two bodies should be tested for collision.
 
 a_mask
 
 b_layer
 
 b_mask
 
 bodies = state.get("bodies", {}).duplicate(true)
 Return saveable world state.
 

Variable Documentation

◆ a_layer

spatial_state.a_layer

Return true when two bodies should be tested for collision.

Definition at line 69 of file spatial_state.gd.

◆ a_mask

spatial_state.a_mask

Definition at line 70 of file spatial_state.gd.

◆ b_layer

spatial_state.b_layer

Definition at line 71 of file spatial_state.gd.

◆ b_mask

spatial_state.b_mask

Definition at line 72 of file spatial_state.gd.

◆ bodies

spatial_state.bodies = state.get("bodies", {}).duplicate(true)

Return saveable world state.

Restore saved world state.

Definition at line 83 of file spatial_state.gd.

◆ body

spatial_state.body

Definition at line 12 of file spatial_state.gd.

◆ Dictionary

spatial_state.Dictionary

Create and store a body dictionary.

Definition at line 11 of file spatial_state.gd.

◆ id

spatial_state.id

Return a stored body copy.

Replace or insert a body.

Definition at line 41 of file spatial_state.gd.

◆ results

spatial_state.results

Remove a body by id.

Return stored body ids.

Return copies of all bodies.

Definition at line 59 of file spatial_state.gd.