Jonathan Rees wrote:
I am creating a 3d scene where a user can select a model and move it around in a room, is there a quick function to see if the new location for the model has anything in its way before moving it??

Hi. It�s not that simple nor that hard. You can use Havok (not included with MX2004 but you can take it from 8.5 or MX), which is a physics engine or you can check with modelsUnderRay if there is something close enough to the direction your model is moving to. And if the scene is simple, maybe a distanceTo() will suffice.


HTH,
--
Agust�n Mar�a Rodr�guez | Interactive Director
Methanoia Studio        | http://www.methanoia.com
---------------------------------------------------
www.onwine.com.ar > samples & code
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to