Thread Previous • Date Previous • Date Next • Thread Next |
> This time I'm really stuck. > CohesiveFrictionalRelationship::go() needs current position and > orientation of bodies, but I can only access material, not state, in a > InteractionPhysicsFunctor. You are stuffing geometric characteristics in interactionPhysics, you are aware of that? You can break the jail by using Body::byId(id)->state to get it (it is a hidden call to Omega::instace()->getWorld()->bodies etc, but that is quite fast anyway). It is that kind of hack that I would like to get rid of, though. v
Thread Previous • Date Previous • Date Next • Thread Next |