Ctrl+K

CollisionEvent

Declaration

public struct Strawberry.Components.Physics.CollisionEvent

The event occurs when two physical bodies collide

Implements: Strawberry.EventSystem.IStrawberryEvent

Properties

RigidBody

The rigid body raising the event. (The event caller).

RigidBodyComponent RigidBody { get set }

Self

The fixture colliding with another object

Fixture Self { get set }

Other

The other fixture colliding with the first one.

Fixture Other { get set }

Contact

The contact information of the collision event

Contact Contact { get set }