PhysicsEvent3D constructor
PhysicsEvent3D(})
An event of type between bodyA and bodyB.
Implementation
PhysicsEvent3D(
this.type,
this.bodyA,
this.bodyB, {
Vector3? point,
Vector3? normal,
this.depth = 0,
}) : point = point ?? Vector3.zero(),
normal = normal ?? Vector3.zero();