|
-
April 27th, 2011, 10:45 AM
#11
Re: Java3D collision detection
It sounds like you need to separate your logic out. If you had 3 methods, one for contacting a puck, one for the goal and one for the walls, you could then differentiate and code what specific things need to happen (playing a sound, coloring a wall) based on the event. But the collision detection should be similar in all cases.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|