MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / CanExit

Method CanExit

ogsr_engine/xrGame/CarDoors.cpp:449–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447}
448
449bool CCar::SDoor::CanExit(const Fvector& pos, const Fvector& dir)
450{
451 // if(state==opened) return true;
452 // return false;
453 // if(!joint) return true;//temp for fake doors
454 if (state == closed && joint)
455 return false;
456 return TestPass(pos, dir);
457}
458
459void CCar::SDoor::GetExitPosition(Fvector& pos)
460{

Callers 1

ExitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected