Vector3 getNormal() | Returns the contact point normal. |
void setNormal(Vector3 vector) | Sets the point normal of the contact to be "vector" argument. |
Vector3 getContactPoint() | Returns the description of the contact point where the collision occurs. |
void setContactPoint(Vector3 vector) | Defines the description of the contact point where the collision occurs to be "vector" argument. |
SpatialObject getOtherObject() | Returns the other object it collided with. |
void setOtherObject(SpatialObject otherObject) | Defines the other object it collided with to be "otherObject" argument. |
float getImpulse() | Returns the amount of thrust the collision applied. |
void setImpulse(float value) | Sets the amount of boost applied to the collision to be "value" argument. |
PhysicsEntity getOtherPhysics() | Returns the [PhisycsEntity] that the Collision collided with. |
void setOtherPhysics(PhysicsEntity otherObject) | Sets the [PhisycsEntity] of Collision. |
Collider getCollider() | Returns the current Collider of Collision. |
void setCollider(Collider otherObject) | Sets the current Collider of Collision. |
float getImpulse() | Returns the current Collision impulse. |
void setImpulse(float value) | Sets the current Collision impulse. |
float getDistance() | Returns the current distance from the Collision. |
void setDistance(float value) | Sets the current distance from the Collision. |
int contactCount() | Returns the current contact amount of the Collision. |
int getContactCount() | Returns the current contact amount of the Collision. |
[Contact] contactAt(int index) | Returns the Object to which [Contact] collided through index defined in the argument. |