Scrolling Game Development Kit Forum
SGDK Version 1 => Help/FAQ => Topic started by: eric22222 on 2006-10-18, 10:11:45 AM
-
I've had a little trouble with some collisions. I'd like to have to two boxes of the same class act like boxes should: one riding on the other. From what I've tried, "A rides on B" just results in the boxes sinking into each other. The project "Turok World" from a while back had boxes riding on each other, but that was with everything but "A rides on B" checked. It also resulted in the boxes flying up into the air...
Any suggestions?
-
Have you tried creating two classes: Rider and Platform, and make each box a member of both? (Then make riders ride on platforms)
-
Ah, excellent; works perfectly. Thanks!