Hi, i am creating a snooker game in java 2d at the moment, but i am not sure what collision detection strategy to use. Anyone got any ideas?
Area.intersects( Area ) will be fast enough for snooker, since you have so few balls, and it’s built-in to Java2D.
I am not sure what u mean, i am quite new to java 2d programming
API specification
http://java.sun.com/j2se/1.5.0/docs/api/java/awt/geom/Area.html
Also read this
http://forum.java.sun.com/thread.jsp?thread=516112&forum=406&message=2459369
And maybe this
http://koala.ilog.fr/batik/mlists/batik-users/archives/msg05253.html
[quote]Pool Hall Lessons might also be useful.
shmoove
[/quote]
You wasted your time. (It’s a triple cross post and he already got that answer)
Dammit! I want those 38 seconds back!
shmoove