Game Development Community

Vehicle Collision problems

by Nelson A. K. Gonsalves · in Torque Game Engine · 08/17/2001 (6:48 pm) · 4 replies

Does anyone figured out why vehicles crash the game when colliding with certain objects(trees) while nothing bad happens with other kinds of objects(pyramids)?

#1
08/17/2001 (7:24 pm)
Yup. The objects like trees, rocks, etc. dont have collision data, so stuff is messed up. Soon, rocks and trees with collision data will be released, and this should fix it. I hope.
#2
08/17/2001 (10:05 pm)
The pyramids and other structures (*.dif) all collide fine but the shapes (rocks, trees, and bushes - *.dts) have that vehicle collision nasty bug. I would highly recommend that if you are running a vehicle server that you remove all of the shapes from the map. The crash takes down the client and server. As long as you don't edit the terrain or add shapes that the clients don't have, then they will automatically receive your version of the mission.

Bad news...I created some shapes with collision meshes (I am writing a tutorial right now) but the crash is still occuring. This issue is really high up on the bug list.
#3
08/18/2001 (6:39 pm)
I created shapes after one of you guys asked me for a few, and I tried those WITH collisions on there, and it made no difference. It must be a code issue....not scripts either I fear.
#4
08/18/2001 (6:59 pm)
A temprorary solution, and one Im using, is to create some shapes in WC to surround the trunk of the tree using the null texture then place them around the trunk of the tree. This will give the trees collision until it gets fixed then you can go back and remove them.