making a solid floor
Raphael Crawford-Marks <[email protected]>
| Newsgroups | gmane.comp.breve |
|---|---|
| Message-ID | <[email protected]> |
I'm working on building a simulation with some flying agents that throw around a ball. I need the ball to be affected by gravity and bounce realistically on the ground. Right now, I make a floor like this: floor = new Stationary. floor register with-shape (new Shape init-with-cube size (100, 2, 100)) at-location (0, -5, 0). floor catch-shadows. This code is taken directly from some of the demos that are included with breve. The ball in my simulation is a mobile sphere with physics enabled. Unfortunately, when it falls to the floor, it goes right through it! I looked through the documentation, but didn't find anything that described how to make objects solid. I'm pretty new to breve, so hopefully someone with more experience (or Jon :) can point me in the right direction. Thanks, Raphael -- Raphael Crawford-Marks http://user-error.net _______________________________________________ breve mailing list [email protected] http://www.spiderland.org/mailman/listinfo/breve