[ODE] Ground composed of cubes
Zanshin
gzanshin at gmail.com
Wed Jan 17 13:15:04 MST 2007
I want a platform composed of cubes. Most of those cubes would be at the
same height but some would be higher or non existant. Over that surface roll
many spheres
For example, a scenario seen from above could be:
0 -> base height;
X -> height = side, so impassable.
_ -> void.
000000000000000000000000
000000000000000000000000
000XXXXXXXXXXXXXXXXXX000
000000000000000000000000
________0____0__________
000000000000000000000000
000XXXXXXXXXXXXXXXXXX000
000000000000000000000000
000000000000000000000000
The easiest way of building this is making as many cubical geoms as cells
and placing this in the world. However, this makes the sphere collision with
the corners between cubes (when theoretically rolling over plain ground) and
move erratically.
How should I do this?
Thanks for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mooshika.org/pipermail/ode/attachments/20070117/76766d12/attachment.htm
More information about the ODE
mailing list