| Godot Nature of Code
    1.2.0
    Nature of Code implemented in Godot Engine | 
Gravity behavior. More...
 
  
| Public Member Functions | |
| GravityBehavior (Vector2? gravity=null) | |
| Create a gravity behavior.  More... | |
| void | ApplyBehavior (VerletPoint point, float delta) | 
| Apply behavior to a verlet point.  More... | |
| Public Attributes | |
| Vector2 | Gravity = new Vector2(0, 9.81f) | 
| Gravity value  More... | |
Gravity behavior.
Definition at line 8 of file GravityBehavior.cs.
| 
 | inline | 
Create a gravity behavior.
| gravity | Gravity value | 
Definition at line 17 of file GravityBehavior.cs.
| 
 | inline | 
Apply behavior to a verlet point.
| point | Verlet point | 
| delta | Delta time | 
Implements VerletPhysics.IBehavior.
Definition at line 22 of file GravityBehavior.cs.
| Vector2 VerletPhysics.GravityBehavior.Gravity = new Vector2(0, 9.81f) | 
Gravity value
Definition at line 11 of file GravityBehavior.cs.