Manuel Braun wrote: > I played a little around with your Demo and saw, if you fly (or walk) to an > other side (so you can see the blue side of the cube), then you CAN walk > into it. From the red side it works better, but from the corner you can > also go inside.
I still haven't had a chance to look into this as Xj3D is coming up to the next milestone release and putting the finishing touches onto my latest book. Here are a couple of potential issues to think about in the intervening period. - Firstly, clipping planes. I've had some fun where sometimes the clipping plane makes it look like you have actually walked through the object, when you really haven't. We have a good demo world in Xj3D of this - a church where I can walk "through" the walls. If you try to go more than the width of the wall, it will stop you. - Inaccuracy at singular points. There is a known fault in the algorithm that I use that says if you are travelling parallel to a plane or if you manage to directly travel through a corner point, it will not detect the collision. If you approach the box and aim directly at a corner about 50% of the time it will let you through simply due to the maths used (inside-outside test of a ray intersecting a polygon). I believe this might be the case if you approach anywhere so that it goes along an edge or corner of the cube. -- Justin Couch http://www.vlc.com.au/~justin/ Freelance Java Consultant http://www.yumetech.com/ Author, Java 3D FAQ Maintainer http://www.j3d.org/ ------------------------------------------------------------------- "Humanism is dead. Animals think, feel; so do machines now. Neither man nor woman is the measure of all things. Every organism processes data according to its domain, its environment; you, with all your brains, would be useless in a mouse's universe..." - Greg Bear, Slant ------------------------------------------------------------------- =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
