CollisionTile

Class in Nostalgia / Inherits from: object

Description

Tile collision information.
It can be received by implementing ITileCollisionReceiver in TileComponent.

Fields

Field Name Description
map Collision Map

Properties

Property Name Description
collider Collider2D of the opponent who collided
collisionCellCount Number of cells collided
otherCollider Collider2D on the Map side that collided
otherRigidbody Rigidbody2D on the Map side that collided
relativeVelocity Relative velocity at the time of collision
rigidbody Rigidbody2D of the opponent who collided

Methods

Method Name Description
GetCollisionCell Get cell collision information.