Looking in body.pyx, I found this in _reactivate_ode_body():

     vector_by_matrix(v, self._root_matrix())
     vector_by_matrix(v, self._ode_parent._inverted_root_matrix())
     chunk_get_floats_endian_safe(ode_chunk,v,3)
     dBodySetAngularVel(bid,v[0],v[1],v[2])

It looks as though the third line is meant to come first, i.e.

     chunk_get_floats_endian_safe(ode_chunk,v,3)
     vector_by_matrix(v, self._root_matrix())
     vector_by_matrix(v, self._ode_parent._inverted_root_matrix())
     dBodySetAngularVel(bid,v[0],v[1],v[2])

Is this right?

--
Greg

_______________________________________________
Soya-user mailing list
Soya-user@gna.org
https://mail.gna.org/listinfo/soya-user

Reply via email to