WoopWoop-Docs
Loading...
Searching...
No Matches
Public Attributes | List of all members
WoopWoop.CollisionData Struct Reference

Represents collision data between two colliders. More...

Public Attributes

Collider collider
 The collider involved in the collision.
 
int contactCount
 The number of contact points in the collision.
 
Vector2[] contactPoints
 The contact points in the collision.
 
Entity entity
 The entity involved in the collision.
 
Transform transform
 The transform of the collider involved in the collision.
 

Detailed Description

Represents collision data between two colliders.

Member Data Documentation

◆ collider

Collider WoopWoop.CollisionData.collider

The collider involved in the collision.

◆ contactCount

int WoopWoop.CollisionData.contactCount

The number of contact points in the collision.

◆ contactPoints

Vector2 [] WoopWoop.CollisionData.contactPoints

The contact points in the collision.

◆ entity

Entity WoopWoop.CollisionData.entity

The entity involved in the collision.

◆ transform

Transform WoopWoop.CollisionData.transform

The transform of the collider involved in the collision.


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