Collisions... what's up with them?
by rennie moffat · in Torque Game Builder · 07/17/2009 (10:12 am) · 23 replies
Hi there,
So I am moving along at a good clip. I have built an astroid style game. However, one thing that is urking me are collisions between my PlayerShip and EnemyShip.
I have turned, send and receive both collision and physics for both, with out callback as I have no scripting yet. I set "Groups" for each to collide with, 1 and 2 appropriately. Now when I play the game, they just float right over each other, with out a budge. Could anyone please help me better understand what I need to do in order to have them collide?
So I am moving along at a good clip. I have built an astroid style game. However, one thing that is urking me are collisions between my PlayerShip and EnemyShip.
I have turned, send and receive both collision and physics for both, with out callback as I have no scripting yet. I set "Groups" for each to collide with, 1 and 2 appropriately. Now when I play the game, they just float right over each other, with out a budge. Could anyone please help me better understand what I need to do in order to have them collide?
About the author
My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.
#22
07/20/2009 (7:58 am)
Try changing the collision type from 'bounce' to 'clamp'. There's a dropdown for it in TGB.
#23
It reminds me of mega man a bit, I believe they were some things that if he ran into them would cause him to shake, but at the same time i remember if I held run down, as he was going into a wall, the run animation would just run glitch free, he just wouldn't go anywhere. So if i could eliminate this the better.
07/20/2009 (8:39 am)
They are both, player, tilemap set to clamp.It reminds me of mega man a bit, I believe they were some things that if he ran into them would cause him to shake, but at the same time i remember if I held run down, as he was going into a wall, the run animation would just run glitch free, he just wouldn't go anywhere. So if i could eliminate this the better.
Torque Owner rennie moffat
Renman3000