Sign in to follow this  
brain21

collision and responce

Recommended Posts

brain21    128
Hi all! I have a program that contain boxes and the boxes can collide with eachother. How do I do the collision and responce? 1. Move all boxes to their next location, then test all for collision and then do responce for all boxes. 2. Move one box, test collision, respond to it, then go to the next box I was thinking about doing the first one, but the second one looks easier to implement. What do you think? Are there any better ways? Will it still work if I add more reality to it later (like rotation of the cases and force/friction)? brain21

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this