| 1997 | } |
| 1998 | |
| 1999 | Fvector CCar::ExitVelocity() |
| 2000 | { |
| 2001 | CPhysicsShell* P = PPhysicsShell(); |
| 2002 | if (!P || !P->isActive()) |
| 2003 | return Fvector().set(0, 0, 0); |
| 2004 | CPhysicsElement* E = P->get_ElementByStoreOrder(0); |
| 2005 | Fvector v = ExitPosition(); |
| 2006 | dBodyGetPointVel(E->get_body(), v.x, v.y, v.z, cast_fp(v)); |
| 2007 | return v; |
| 2008 | } |
| 2009 | |
| 2010 | void CCar::SyncNetState() |
| 2011 | { |
no test coverage detected