View Single Post
 
Old November 18th, 2012, 01:19 AM
straycatsgp straycatsgp is offline
Registered User
Points: 13, Level: 1
Points: 13, Level: 1 Points: 13, Level: 1 Points: 13, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2012
Location: Singapore
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapt 7 - accelerometer - rolling ball question

I'm planning to build a maze game with a rolling ball.

How do you confine the ball to walls and obstructions?

It seems to me that there must be a more elegant solution than using the CGRectIntersectsRect() function..or?