Sign in to follow this  
brett01

collision detection help please

Recommended Posts

brett01    115
I want to detect collisions of ball inside a box.The box can be tilted at an angle.How to detect the edges ,Im getting annoying loops.The gravity is present. Thanks in advance.

Share this post


Link to post
Share on other sites
brett01    115
Hi Thank you for the reply.I just want 2d collsions with ball in a rectangle.The rectangle can be tilted in two degrees of freedom.Can i get tutorial of this.This is simply like a tilt maze game.Im getting weird results when the plane is tilted.
The gravity is present.So it changes according to the tilted frame.Can i get the equations or a nice tutorial for doing this please.

Share this post


Link to post
Share on other sites
ToohrVyk    1596
The tutorial I posted in my reply is sufficient to accomplish what you want. If you have trouble with a particular part of that tutorial, then ask about that part in particular.

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