Game Development Community

My Mistake!?!?

by Jenser Olson · in Artist Corner · 07/08/2008 (9:25 am) · 5 replies

Hi@all,
i have the problem that i can walk throu my model. i created a box in 3d-studio-max and exported it with max2dtsExporter. then i imported the dts-file as static object in my level. after loading the level i can go throu the box. but i dont want that i can go throu. what did i wrong? can anybody help me? i am an absolut beginner in 3d-game-development. thx

About the author

Recent Threads


#1
07/08/2008 (9:40 am)
Did you create a collision mesh?
#2
07/08/2008 (9:48 am)
Yes, the exporter created the collision mesh automaticly...
#3
07/08/2008 (11:53 am)
The exported dont make it automatically, well, not the standard one. Its easy to do though.
Create the colision mesh you want (lets say a simple box).
Call this mesh "Col-1"
In Schematic view link it under "start01" .. so your structure is "base01" -> "start01" -> "col-1"
You also need a "detail" for it like you got for the visible stuff. Easiest would be to just clone a current detail marker. In Schematic view click on a detail (whichwould be under base01) and go Edit->Clone (make sure its COPY). Rename this copy to "Collision-1" and you got a collision that can be exported with your model and you will collide with your object ingame.
#4
07/29/2008 (11:59 am)
Make sure you link collision-1 to base01 and not start01 or it wont work.
#5
07/29/2008 (11:59 am)
Http://www.garagegames.com/mg/forums/result.thread.php?qt=69633