15 #include "config_ode.h" 28 _id(dBodyCreate(world.
get_id())) {
29 world.add_body_dampening(*
this, 0);
39 Py_XDECREF((PyObject*) dBodyGetData(_id));
46 get_joint(
int index)
const {
48 nassertr(index < get_num_joints(),
OdeJoint(0));
49 return OdeJoint(dBodyGetJoint(_id, index));
53 write(ostream &out,
unsigned int indent)
const {
54 out.width(indent); out <<
"" << get_type() \
60 operator bool ()
const {
dJointID get_id() const
Returns the underlying dJointID.
TypeHandle is the identifier used to differentiate C++ class types.