internal void UpdateGameObject(GameObject otherGO)
 {
     if (this.gameObject == null && otherGO != null)
     {
         this.gameObject = otherGO;
         this.rigidbody  = this.gameObject.GetComponent <BoxBodyComponent>();
     }
 }
 public void Reset()
 {
     gameObject = default;
     entityId   = default;
     point      = default;
     normal     = default;
     fixture    = default;
     rigidbody  = default;
     transform  = default;
 }
 internal void Reset()
 {
     gameObject       = null;
     rigidbody        = null;
     entityAId        = null;
     entityBId        = null;
     bodyA            = null;
     bodyB            = null;
     fixtureA         = null;
     fixtureB         = null;
     relativeVelocity = default;
 }
 public BoxRaycastHit2D Init(GameObject go, Fixture f, string entityId, System.Numerics.Vector2 point = default, System.Numerics.Vector2 normal = default)
 {
     this.gameObject = go;
     this.fixture    = f;
     this.entityId   = entityId;
     this.point      = point;
     this.normal     = normal;
     if (go != null)
     {
         this.rigidbody = go.GetComponent <BoxBodyComponent>();
         this.transform = go.GetComponent <BoxTransformComponent>();
     }
     return(this);
 }