| Godot Nature of Code
    1.2.0
    Nature of Code implemented in Godot Engine | 
Hopping bunny. More...
 
  
| Public Member Functions | |
| HoppingBunny () | |
| Create a hopping bunny.  More... | |
|  Public Member Functions inherited from Forces.SimpleMover | |
| SimpleMover () | |
| Create a simple wrapping mover with a circle mesh.  More... | |
| SimpleMover (WrapModeEnum wrapMode) | |
| Create a simple mover with a custom wrap mode and a circle mesh.  More... | |
| virtual void | ApplyForce (Vector2 force) | 
| Apply force on mover.  More... | |
| virtual void | ApplyAngularForce (float force) | 
| Apply angular force on mover.  More... | |
| virtual void | ApplyFriction (float coef) | 
| Apply friction on mover.  More... | |
| virtual void | ApplyAngularFriction (float coef) | 
| Apply angular friction on mover.  More... | |
| virtual void | ApplyDrag (float coef) | 
| Apply drag on mover.  More... | |
| virtual void | ApplyDamping (float coef) | 
| Apply damping on mover.  More... | |
| Public Attributes | |
| float | JumpSpeed = 8f | 
| Jump speed  More... | |
| float | TailSpeed = 10f | 
| Tail speed  More... | |
| float | AccelerationFactor = 0.025f | 
| Acceleration factor  More... | |
| Color | BaseColor = Colors.White | 
| Base color  More... | |
| Color | EyeColor = Colors.LightBlue | 
| Eye color  More... | |
| float | EarRotationFactor = 0.01f | 
| Ear rotation factor  More... | |
| float | TailRotationFactor = 0.05f | 
| Tail rotation factor  More... | |
|  Public Attributes inherited from Ecosystem.Ecosystem.Lifeform | |
| bool | DebugDrawEnabled | 
| Debug draw enabled?  More... | |
|  Public Attributes inherited from Forces.SimpleMover | |
| Vector2 | Velocity = Vector2.Zero | 
| Current velocity  More... | |
| Vector2 | Acceleration = Vector2.Zero | 
| Current acceleration  More... | |
| float | AngularVelocity | 
| Current angular velocity  More... | |
| float | AngularAcceleration | 
| Current angular acceleration  More... | |
| float | MaxVelocity = 10 | 
| Max velocity  More... | |
| float | MaxAngularVelocity = 0.1f | 
| Max angular velocity  More... | |
| float | Mass = 1 | 
| Mass  More... | |
| WrapModeEnum | WrapMode | 
| Wrapping mode  More... | |
| bool | DisableForces | 
| Disable forces  More... | |
| bool | SyncRotationOnVelocity | 
| Synchronize rotation on velocity  More... | |
| SimpleMesh | Mesh | 
| Mesh  More... | |
| Protected Member Functions | |
| override void | UpdateAcceleration () | 
| Update acceleration value.  More... | |
| Additional Inherited Members | |
|  Public Types inherited from Forces.SimpleMover | |
| enum class | WrapModeEnum { Wrap , Bounce , None } | 
| Wrapping mode enum.  More... | |
|  Protected Attributes inherited from Forces.SimpleMover | |
| CollisionShape2D | collisionShape2D | 
| Collision shape  More... | |
|  Properties inherited from Forces.SimpleMover | |
| bool | Drawing  [get, set] | 
| Draw mesh  More... | |
| Vector2 | MeshSize  [get, set] | 
| Mesh size  More... | |
| float | Radius  [get, set] | 
| Mesh radius  More... | |
Hopping bunny.
Definition at line 397 of file Ecosystem.cs.
| 
 | inline | 
Create a hopping bunny.
Definition at line 446 of file Ecosystem.cs.
| 
 | inlineprotectedvirtual | 
Update acceleration value.
Reimplemented from Forces.SimpleMover.
Definition at line 529 of file Ecosystem.cs.
| float Ecosystem.Ecosystem.HoppingBunny.AccelerationFactor = 0.025f | 
Acceleration factor
Definition at line 406 of file Ecosystem.cs.
| Color Ecosystem.Ecosystem.HoppingBunny.BaseColor = Colors.White | 
Base color
Definition at line 409 of file Ecosystem.cs.
| float Ecosystem.Ecosystem.HoppingBunny.EarRotationFactor = 0.01f | 
Ear rotation factor
Definition at line 415 of file Ecosystem.cs.
| Color Ecosystem.Ecosystem.HoppingBunny.EyeColor = Colors.LightBlue | 
Eye color
Definition at line 412 of file Ecosystem.cs.
| float Ecosystem.Ecosystem.HoppingBunny.JumpSpeed = 8f | 
Jump speed
Definition at line 400 of file Ecosystem.cs.
| float Ecosystem.Ecosystem.HoppingBunny.TailRotationFactor = 0.05f | 
Tail rotation factor
Definition at line 418 of file Ecosystem.cs.
| float Ecosystem.Ecosystem.HoppingBunny.TailSpeed = 10f | 
Tail speed
Definition at line 403 of file Ecosystem.cs.