Some fixes from the ports.
This commit is contained in:
@@ -282,7 +282,7 @@ namespace Game.Collision
|
||||
public GameObjectModel GetHitModel() { return _hitModel; }
|
||||
|
||||
PhaseShift _phaseShift;
|
||||
LocationInfo _locationInfo;
|
||||
GameObjectModel _hitModel;
|
||||
LocationInfo _locationInfo = new();
|
||||
GameObjectModel _hitModel = new();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user