Godot Nature of Code  1.2.0
Nature of Code implemented in Godot Engine
Public Member Functions | List of all members
Examples.Chapter5.C5Example10 Class Reference

Example 5.10 - Verlet Spring. More...

Inheritance diagram for Examples.Chapter5.C5Example10:
Examples.IExample

Public Member Functions

string GetSummary ()
 Output a summary text More...
 

Detailed Description

Example 5.10 - Verlet Spring.

Uses a custom verlet physics implementation (uses VerletWorld and VerletChainBuilder).

Definition at line 10 of file C5Example10.cs.

Member Function Documentation

◆ GetSummary()

string Examples.Chapter5.C5Example10.GetSummary ( )
inline

Output a summary text

Returns
Summary text

Implements Examples.IExample.

Definition at line 12 of file C5Example10.cs.

13  {
14  return "Example 5.10:\n"
15  + "Verlet Spring\n\n"
16  + "Verlet physics is not available in Godot, so it has been implemented from scratch.\n"
17  + "You can move points by touching them.";
18  }

The documentation for this class was generated from the following file: