Răsfoiți Sursa

hovervehicle stabilizer fix for groundplane (and other things)
use the generic collisionmask for the stabilizer castrays

AzaezelX 2 săptămâni în urmă
părinte
comite
b28aaa8baa
1 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  1. 1 2
      Engine/source/T3D/vehicles/hoverVehicle.cpp

+ 1 - 2
Engine/source/T3D/vehicles/hoverVehicle.cpp

@@ -725,8 +725,7 @@ void HoverVehicle::updateForces(F32 /*dt*/)
 
    for (j = 0; j < 2; j++) {
       if (getContainer()->castRay(stabPoints[j].wsPoint, stabPoints[j].wsPoint + stabPoints[j].wsExtension * 2.0,
-                                  TerrainObjectType | 
-                                  WaterObjectType, &rinfo)) 
+         sCollisionMoveMask, &rinfo))
       {
          reallyFloating = false;