Quote:
Originally Posted by Jeff
You will need to enable the physics engine in order to have collisions between objects and the effects of gravity. The Vizard docs explain how to add physics.
|
Thanks, Jeff. That worked when an object hits the ground, but what about other objects in my base model? For example, if I have a room with a built in counter, is there a way for the 'dropped' object to collide with that?
Here's a bit of what I'm working with:
Code:
viz.phys.enable()
room.collidePlane()
if link and checkobject(object) == 'foobar':
foobar.collideBox(1,2.5,1) #hits the ground
link.remove()
The object (foobar) in this situation will drop right through the counter to the ground.
Thanks again.