Public Attributes | |
int | sphereID |
Private Member Functions | |
void | Awake () |
void | Start () |
void | AssignSphereID () |
void | OnCollisionEnter (Collision other) |
void | OnCollisionStay (Collision other) |
Private Attributes | |
SimulationLoop | simulationLoop |
The SimulationLoop component in the Simulation GameObject. More... | |
CollisionHandler | collisionHandler |
The CollisionHandler component in the Simulation GameObject. More... | |
This class is responsible for tracking collisions of the object it is attached to. Attach this component only to sphere objects of the guidewire.
|
private |
Assigns the unique ID of the object sphere it is attached to to sphereID.
|
private |
|
private |
Registers a collision that Unity's collision detection detected.
|
private |
Registers a collision that Unity's collision detection detected.
|
private |
|
private |
The CollisionHandler component in the Simulation GameObject.
|
private |
The SimulationLoop component in the Simulation GameObject.
int GuidewireSim.CollisionDetectionPrimitive.sphereID |
The unique ID of the sphere that this component is attached to. Matches the position in spheres
in #SimulationLoop.
spherePositions
, sphereVelocities
, sphereExternalForces
, spherePositionPredictions
in #SimulationLoop.