About Store Forum Documentation Contact



Post Reply 
collision detection
Author Message
rogerg Offline
Member

Post: #1
collision detection
hello, how can I import my own buildings with collision detection? I tried to import a 3ds max file into my level and inside the level I
could just walk through it, I made a physics things for it in the mesh editor and made sure that was selected in the
world editor but I could still walk straight through it in the game. Am I supposed to draw the red path things around it or what?
I tried the level with them and without them and I could still walk through the building. I used the camera modes tutorial to test the level am I supposed to
have some extra code for collision detection? a bit confused :?
12-26-2008 03:05 PM
Find all posts by this user Quote this message in a reply
craksy Offline
Member

Post: #2
Re: collision detection
think you should set it to a static object in the world editor, and use the static obj base!
also remember to add a memory container for static objects!

as far as i know, the physics thingy, detects static stuff as solid :/
12-26-2008 04:52 PM
Find all posts by this user Quote this message in a reply
rogerg Offline
Member

Post: #3
Re: collision detection
thanks a lot, I used a base mesh and it works now, btw do you know whats a good metric unit to export my 3ds max models as?
they always come out looking too big in the world editor.
12-26-2008 06:31 PM
Find all posts by this user Quote this message in a reply
craksy Offline
Member

Post: #4
Re: collision detection
sorry, cant help you with this one...
having the same problem exporting from both Maya, and Zbrush...
guess you'll just have to try, untill you get the size you want :/
12-26-2008 06:48 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #5
Re: collision detection
after importing meshes into Mesh Editor you can use the shortcut "Ctrl+C" (Menu\Mesh\Transform\Rescale Height To 1)
this will transform the mesh to fit in just before the camera
after that you can manually rescale the object (remember that units are in meters)
12-26-2008 07:21 PM
Find all posts by this user Quote this message in a reply
Post Reply