![]() |
|
#1
|
|||
|
|||
As you guessed, collision shapes work between objects and not the viewpoint. You can turn on viewpoint collision and disable it for certain models. The following example disables viewpoint collision with the court but not the box:
Code:
import viz viz.go() viz.collision(viz.ON) court = viz.add('court.ive') court.disable(viz.INTERSECTION) box = viz.add('box.wrl',pos = [0,1.5,5]) |
#2
|
|||
|
|||
Thanks Jeff - that works fine. I did have a problem in that due to the scaling that I had used the viewpoint did not seem to be able to get close enough to the ground (I guess there is a lower limit for the buffer size) but this was ok when I scaled everything up by a factor of 20. Thanks again.
|
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem with collision? | shahramy | Vizard | 1 | 06-01-2010 01:17 PM |
problem with collision | ruby21 | Vizard | 3 | 05-19-2010 05:32 PM |
Collision problem: Balls fly through the wall | Chrissy2009 | Vizard | 11 | 05-19-2009 04:38 AM |
Collision with child nodes | rubberpimple | Vizard | 4 | 09-17-2008 04:27 PM |
problem with collision detection | paulpars | Vizard | 6 | 06-09-2006 06:03 PM |