POV-Ray : Newsgroups : povray.newusers : Collision Detection : Re: Collision Detection Server Time
2 Nov 2024 17:19:10 EDT (-0400)
  Re: Collision Detection  
From: Marc Jacquier
Date: 30 Oct 2003 02:06:21
Message: <3fa0b86d@news.povray.org>
Hi
Have a look at section 6.1.4.6 of the documentation
the trace() function could help you.
I suggest you to add your objects in a union and call trace to scan the
place where you want to add the next one.

HTH

Marc


web.3fa08e76fac903efda84c90@news.povray.org...
> I am looking to use a simple loop to call a macro to repeatedly add an
> object to a scene.  The only problem I am having, however, is that since
> the objects are randomly placed and rotated, some of them are
intersecting.
>  I would like to know if there is a way to detect if another object is in
> the way before placing another object in any random space.
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.