collision glitch - now a non pro discussion
Hi friends,
I have made this video to show my problem
![](https://img.youtube.com/vi/nz6_jSQFXPo/0.jpg)
here the code:
![image](http://oi50.tinypic.com/of5bg5.jpg)
the big white cube (wall actor) has no code
it's a shoot'm up game, the white missiles suppose do destroy when collides with the big box, notice lots of missiles crosses the big actor
how to avoid the "tunneling" problem?
there is an method for Continuous Collision Detection (CCD)?
Thank you,
Marcos Riffel
I have made this video to show my problem
![](https://img.youtube.com/vi/nz6_jSQFXPo/0.jpg)
here the code:
![image](http://oi50.tinypic.com/of5bg5.jpg)
the big white cube (wall actor) has no code
it's a shoot'm up game, the white missiles suppose do destroy when collides with the big box, notice lots of missiles crosses the big actor
how to avoid the "tunneling" problem?
there is an method for Continuous Collision Detection (CCD)?
Thank you,
Marcos Riffel
Comments
I have made this video to show my problem
it's a shoot'm up game, the white missiles suppose do destroy when collides with the big box, notice lots of missiles crosses the big actor
how to avoid the "tunneling" problem?
there is an method for Continuous Collision Detection (CCD)?
Thank you,
Marcos Riffel
www.marcosriffel.com
Cheers
John
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Why not use a different rule instead
Something like
When "self.position.X" > 600
Destroy
Or simply slow down those missiles to 1000 maybe?!
Roy.
www.marcosriffel.com
using the x>N don't is a solution. I have more walls in the scene, now the wall actor has a sensor, notice the missile hits the second wall sometimes the third.
www.marcosriffel.com
You've already hit the nail on the head mentioning CCD. I'm certainly not clever enough to figure out how GS could do a priori collision detection, and I've not seen anyone else suggest a method.
I'm guessing the LUA-free engine _might_ help when it is released. But 2000 is fast!
Would love to know if anyone CAN figure out continuous, tho!
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
[Edit: if I let it run long enough, the bullet actors do make it through the wall sometimes, just not as often as yours in the initial video you posted. The weird thing is if I click between the preview window and the debugged window, it causes the bullets to bypass the wall at a much quicker rate...]
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
www.marcosriffel.com
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Putting 'Collide with Bullet' on the wall really does seem to do the trick!
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User