Problem with objects
by Jermaine Morgan · in Torque Game Engine · 08/02/2006 (11:58 am) · 7 replies
I am having a problem with adding this bridge to my game.
I am putting it in the shape file and everything. I just need to know how to make it solid so that the player can collide with it. Right now he only walks through it.
[IMG]http://img525.imageshack.us/img525/8338/bridgeul1.th.png[/IMG]
2. Also when i add move the model to the data shape file, its always listed as a static shape, instead of a regular shape.(is it suppose to be that way, until i add some code to it?
as you can see i have been search for collisions but i just need a push in the right direction.
I am putting it in the shape file and everything. I just need to know how to make it solid so that the player can collide with it. Right now he only walks through it.
[IMG]http://img525.imageshack.us/img525/8338/bridgeul1.th.png[/IMG]
2. Also when i add move the model to the data shape file, its always listed as a static shape, instead of a regular shape.(is it suppose to be that way, until i add some code to it?
as you can see i have been search for collisions but i just need a push in the right direction.
About the author
#2
08/02/2006 (12:22 pm)
Bounding box != Collision Mesh
#3
08/02/2006 (1:10 pm)
To expand on what Cliff says, you need to set a collision mesh for your shape. A bounds object is not enough.
#4
08/02/2006 (7:04 pm)
I'm using milkshape can ido that in milkshape?
#5
08/02/2006 (7:06 pm)
Lol, yes you can. Make a convex collision mesh and name it "collision-1".
#6
08/02/2006 (7:14 pm)
Milkshape FTW!!
#7
08/03/2006 (8:57 am)
I email you the answer and example file.
Torque Owner Jermaine Morgan