소스 검색

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

AzaezelX 2 주 전
부모
커밋
b28aaa8baa
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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;