Some fixes from the ports.

This commit is contained in:
hondacrx
2021-09-26 16:14:57 -04:00
parent a43f839669
commit 35710258b9
7 changed files with 56 additions and 40 deletions
+2 -2
View File
@@ -282,7 +282,7 @@ namespace Game.Collision
public GameObjectModel GetHitModel() { return _hitModel; }
PhaseShift _phaseShift;
LocationInfo _locationInfo;
GameObjectModel _hitModel;
LocationInfo _locationInfo = new();
GameObjectModel _hitModel = new();
}
}
+1 -1
View File
@@ -152,7 +152,7 @@ namespace Game.Collision
{
AreaAndLiquidData data = new();
Vector3 v = new(x, y, z +0.5f);
Vector3 v = new(x, y, z + 0.5f);
DynamicTreeLocationInfoCallback intersectionCallBack = new(phaseShift);
impl.IntersectPoint(v, intersectionCallBack);
if (intersectionCallBack.GetLocationInfo().hitModel != null)