Public Member Functions | |
CollisionPair (Transform sphere, int sphereID, Vector3 contactPoint, Vector3 collisionNormal) | |
Public Attributes | |
Transform | sphere |
The sphere object of the guidewire that was part of the collision. More... | |
Vector3 | contactPoint |
The contact point of the collision. More... | |
Vector3 | collisionNormal |
The normal of the collision. More... | |
int | sphereID |
The ID of the sphere object of the guidewire that was part of the collision. More... | |
Carries all information of a collision that occured.
GuidewireSim.CollisionPair.CollisionPair | ( | Transform | sphere, |
int | sphereID, | ||
Vector3 | contactPoint, | ||
Vector3 | collisionNormal | ||
) |
Vector3 GuidewireSim.CollisionPair.collisionNormal |
The normal of the collision.
Vector3 GuidewireSim.CollisionPair.contactPoint |
The contact point of the collision.
Transform GuidewireSim.CollisionPair.sphere |
The sphere object of the guidewire that was part of the collision.
int GuidewireSim.CollisionPair.sphereID |
The ID of the sphere object of the guidewire that was part of the collision.