Game Development Community

Adding simple collision for no collision players

by Robert Stewart · in Torque Game Engine · 03/23/2005 (10:15 am) · 5 replies

This is also posted in the RTS Forums, but because most of the user database is here, Ill post it here too. Ok the title makes no sense, I couldent describe it any better. Anyway My player has no collision and so my question is if its possible to make a wall with collision, and have the player collide with it. Ok sorry thats the best i can explain, Anyway help appreciated.

NOTE: All my players/objects have no collision, so I would have to add something.

#1
03/24/2005 (5:25 am)
Hi Robert,
I just want to clarify what you are asking, are you saying that your player object wont collide with anything?

Harley
#2
03/24/2005 (5:52 am)
The RTS-SK has collision turned off for optimization. He's asking how to turn it back on again basically, which really does belong in the RTS-SK forums, since no one without the RTS-SK will have the code to compare against!

It's a topic on my list of things to look at eventually, but that's the best I can do right now, sorry.
#3
03/24/2005 (7:36 am)
Acually Stephen I really thought it belonged here too, because Someone must have the knowledge of Adding collision to a Object without collision.. Well if this is really off topic mods feel free to remove it.
#4
03/24/2005 (8:22 am)
Not saying that it doesn't belong here, just that many TGE owners aren't going to really understand the question/issue, since in their code bases, they have normal collision already set up!

It is hopeful that someone highly experienced with collision as you mentioned will put up some general information, and therefore I do think it is fine for the post to be here--I just wanted people to understand why you are asking!

As an aside, if you can be patient (couple to several months depending on how things go), rumor is the next RTS-SK release will demonstrate adding in highly optimized collision for RTSUnits.
#5
07/25/2007 (7:48 pm)
Actually i am looking to see if someone has already done this, but i am using TGEA without RTS-SK. Guess this one went nowhere. :(