Private Member Functions | |
void | Awake () |
void | Start () |
void | PerformForceTests () |
void | PerformForceTestOne () |
void | PerformForceTestTwo () |
IEnumerator | PerformForceTestThree (Vector3 pullForce, float applyForceTime=1f) |
void | PerformForceTestFour () |
void | PerformSingleLoopTest () |
Private Attributes | |
SimulationLoop | simulationLoop |
The SimulationLoop component that executes all steps of the simulation loop. More... | |
bool | doForceTestOne = false |
Whether to run Force Test One. This test applies gravity to all spheres. More... | |
bool | doForceTestTwo = false |
Whether to run Force Test Two. This test applies an external force to one end of the guidewire. More... | |
bool | doForceTestThree = false |
bool | doForceTestFour = false |
bool | doSingleLoopTest = false |
Vector3 | pullForceTestThree = new Vector3(0f, 3f, 0f) |
External force that is applied in Force Test Three. More... | |
This class enables the user to test the impact of external forces with one button within the Unity inspector.
|
private |
|
private |
Performs force test four. This test applies an external force to one end of the guidewire and the opposite force at the other end of the guidewire.
|
private |
Performs force test one. This test applies gravity to all spheres.
|
private |
Performs each Force Test whose respective serialized boolean is set to true in the Unity inspector.
|
private |
Performs force test three. This test applies an external force to one end of the guidewire for a fixed amount of time and then the opposite force at the same sphere for the same amount of time.
applyForceTime | For how many seconds to apply the force to the particles. |
|
private |
Performs force test two. This test applies an external force to one end of the guidewire.
|
private |
Performs the single loop test. This test shifts one end of the guidewire and runs the simulation for exactly one loop iteration to test constraint solving.
|
private |
|
private |
Whether to run Force Test Four. This test applies an external force to one end of the guidewire and the opposite force at the other end of the guidewire.
|
private |
Whether to run Force Test One. This test applies gravity to all spheres.
|
private |
Whether to run Force Test Three. This test applies an external force to one end of the guidewire for a fixed amount of time and then the opposite force at the same sphere for the same amount of time.
|
private |
Whether to run Force Test Two. This test applies an external force to one end of the guidewire.
|
private |
Whether to run the Single Loop Test. This test shifts one end of the guidewire and runs the simulation for exactly one loop iteration to test constraint solving.
|
private |
External force that is applied in Force Test Three.
|
private |
The SimulationLoop component that executes all steps of the simulation loop.