Game Development Community

Collision issues

by Donald "Yadot" Harris · in Torque Game Builder · 08/08/2007 (8:36 pm) · 6 replies

I have a scene with a background image a ship and another object that the ship is suppose to run in to. Everything is all on the same layer. But for some reason they will not collide with one another. I need to make borders or something for it to hit. Any help?

#1
08/09/2007 (8:49 am)
Have you turned collisions and physics on both objects? Select an object, go to the Edit pane, and open the Collision rollout. Check all of the send/receive collisions and physics boxes.

For a more accurate collision, you can set the collision polygon--just mouseover an object, click the Change Collision Polygon button that appears, then click around the border of the object to create the polygon.

Is this at all helpful?
#2
08/09/2007 (10:07 am)
Thanks for the reply but I have all of that checked and double checked. I made sure they were on the same layer. Then I even played around with the Move back/forward setting that is located right underneath the layer setting. I made sure that it was the same for both. They just do no collide.
#3
08/09/2007 (10:23 am)
Hmm that's odd. What about the Collision Layers fields? They should all be blue (active). Did you want the background image to collide with the ships? Make sure to turn its send/receive collisions off.
#4
08/09/2007 (7:52 pm)
I have double check the active layers. I am not to sure what you mean by the back ground image. I just want that object itself to collide with the ship. I tried turning OFF the send.receive but to no avail. Then I tried doing the same on the ship itself and no change. The odd thing is I also have the ship a shooting ability and that bullet hits the object which takes damage and is destroyed. Any other suggestions?
#5
08/09/2007 (7:52 pm)
By the way I am using TGB 1.5.1
#6
08/09/2007 (8:06 pm)
Melissa I got it. I had to select the Send Collision box that is the first in the list. Oddly enough you would think by default when you create a collision poly it would automatically check that box. Thanks for all your help. I am sure I will have more questions when I get to the networking portion of my demo.