| 326 | |
| 327 | |
| 328 | void dBodySetPosition (dBodyID b, dReal x, dReal y, dReal z) |
| 329 | { |
| 330 | dAASSERT (b); |
| 331 | b->pos[0] = x; |
| 332 | b->pos[1] = y; |
| 333 | b->pos[2] = z; |
| 334 | |
| 335 | // notify all attached geoms that this body has moved |
| 336 | for (dxGeom *geom = b->geom; geom; geom = dGeomGetBodyNext (geom)) |
| 337 | dGeomMoved (geom); |
| 338 | } |
| 339 | |
| 340 | |
| 341 | void dBodySetRotation (dBodyID b, const dMatrix3 R) |
no test coverage detected