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

Method PHSetLinearVell

ogsr_engine/xrGame/PhysicsShellHolder.cpp:259–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259void CPhysicsShellHolder::PHSetLinearVell(Fvector& velocity)
260{
261 if (!m_pPhysicsShell)
262 {
263 return;
264 }
265 m_pPhysicsShell->set_LinearVel(velocity);
266}
267
268f32 CPhysicsShellHolder::GetMass() { return m_pPhysicsShell ? m_pPhysicsShell->getMass() : 0; }
269

Callers

nothing calls this directly

Calls 1

set_LinearVelMethod · 0.45

Tested by

no test coverage detected