Tagged Questions
0
votes
5answers
1k views
Collision detection logic
Edit 2
In the following picture sprite1 (the red square) is hitting the platform from the left, so:
sprite1_rightEdge>platformSprite leftEdge
would be true, so I can simply reposition ...
2
votes
3answers
2k views
Game physics / 2D Collision detection AS3
I know there are some methods you can use like hittestPoint and so on, but I want to see where my movieclip colliedes with another another movieclip. Any other methods I can use?
by any chance does ...
4
votes
3answers
3k views
Why do we use physics engines for collision testing or raycasting?
There is a thing I don't understand about game engines: why it is so common to use physics engines to do raycasting or collision testing?
Say that you have a 3D scene loaded in your scene manager ...