PhysicsHit3D constructor

PhysicsHit3D({
  1. required Entity? entity,
  2. required int body,
  3. required Vector3 point,
  4. required Vector3 normal,
  5. required double distance,
  6. required double fraction,
  7. double depth = 0,
})

A hit on body (entity's) at point.

Implementation

PhysicsHit3D({
  required this.entity,
  required this.body,
  required this.point,
  required this.normal,
  required this.distance,
  required this.fraction,
  this.depth = 0,
});