3D Markup Language for Web - Open Source platform for creating 3D and 2D interactive web content
Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: collision detection with the camera
PostPosted: Tue Oct 13, 2009 7:01 am 

Joined: Tue Oct 13, 2009 6:56 am
Posts: 1
is it possible for collision detection to work with the camera. I don't want to "move" through objects, I want to bump into them & force the user to move around them.


Top
 Profile  
 
 Post subject: Re: collision detection with the camera
PostPosted: Tue Oct 13, 2009 1:24 pm 
User avatar

Joined: Tue Aug 14, 2007 2:26 pm
Posts: 11
I assume you're using the 1.x version of 3DMLW engine.
In this case you could take any kind of shape, make it collidable (and optionally invisible) and move it. Then the camera could reference the shape's (finalx,finaly,finalz) for it's (x,y,z).

You should try out our version 2.0, which is a little more flexible and mature in those areas. Unfortunately there's no documentation available for the 2.0, but if you're interested in moving to the next version early on then PM me. :)
Check out the nightly builds for your platform:
http://3dmlw.com/download/nightly_builds/
http://3dmlw.com/download/nightly_builds_linux/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 2 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron