Exiting while SubMerged
When you drive/fly/float your vehicle under water, and you get out, you can't move anymore, this is because your Physics is set to Falling, but it has to be Swimming. This can be fixed easy:
function bool KDriverLeave(bool bForceLeave) { local Pawn OldDriver; OldDriver = Driver; // If we successfully got out of the car, make driver visible again. And check if in water. if( Super.KDriverLeave(bForceLeave) ) { OldDriver.bHidden = false; //Also seen in the bulldog, so can't be bad :) //If we are in water, set the physics to swimming if (OldDriver.TouchingWaterVolume()) { OldDriver.SetPhysics(PHYS_Swimming); } return true; } else return false; }
Page Information
2022-11-18T15:42:59.016258Z
2007-11-17T12:51:27Z
Dyn-62-56-58-176.dslaccess.co.uk
Moved
https://wiki.beyondunreal.com/Legacy:Vehicles Pre2004/Exiting
Attribution-NonCommercial-ShareAlike 3.0