Ben Chambers <ben### [at] pacificwebguy com> wrote:
> Thomas Lake wrote:
> > Fantastic work fidos. I love these simulations you've been working on!
> > The wood block seems to behave a bit funny here, maybe that's just
> > because I don't have any personal experience with dropping a steal ball
> > and a block of wood into a tank? ;) It sort of looks like the wooden
> > block is not dense enough compared to the steel ball?
>
> This is a major limitation of the ODE library, that all objects have the
> same density.
>
> ...Chambers
You can use the function dMassSetSphere(density) in case of a sphere to init
a dMass structure and after call the function dBodySetMass to attach the
mass to the body. It is what I do in my simulation.
Regards,
Fidos.
Post a reply to this message
|