Bounding box and collision detection code snippets for Adobe flash professional Cs5.5 -


i creating basic game in flash professional cs5.5 , wanted know if had code snippets bounding box character, , collision detection code snippet.

the game consists of player moving out way avoid cars , other obstacles while getting scored how long run.

ours 3d, c# ape physics entire engine here

take @ convex hull , environment

we used bounding volume hierarchy

a simple method of optimisation put sphere around every object. when testing 2 objects collision, check if centers of objects within radius range. if bounding spheres don't collide no more work needs done.


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -