TrueSync
Public Attributes | List of all members
TrueSync.TSCollision2D Class Reference

Represents information about a contact between two 2D bodies. More...

Public Attributes

TSContactPoint2D[] contacts = new TSContactPoint2D[1]
 An array of TSContactPoint.
 
TSCollider2D collider
 TSCollider of the body hit
 
GameObject gameObject
 GameObject of the body hit.
 
TSRigidBody2D rigidbody
 TSRigidBody of the body hit, if there is one attached
 
TSTransform2D transform
 TSTransform of the body hit
 
TSVector2 relativeVelocity
 The TSTransform of the body hit.
 

Detailed Description

Represents information about a contact between two 2D bodies.

Definition at line 25 of file TSCollision2D.cs.


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