Example #1
0
void SParts::addRelForceAtPos(dReal fx, dReal fy, dReal fz, dReal px, dReal py, dReal pz)
{
	dBodyAddRelForceAtPos(m_odeobj->body(), fx, fy, fz, px, py, pz);
}
Example #2
0
void RigidBody::addRelativeForceAtPosition(const ngl::Vec3 &_f,const ngl::Vec3 &_p)
{
  dBodyAddRelForceAtPos(m_id,_f.m_x,_f.m_y,_f.m_z,_p.m_x,_p.m_y,_p.m_z);
}
void PhysicsBody::addRelForceAtPos(const Vec3f &v, const Vec3f &p)
{
    dBodyAddRelForceAtPos(_BodyID, v.x(), v.y(), v.z(), p.x(), p.y(), p.z());
}