Author Topic: A rides on A?  (Read 2329 times)

eric22222

  • Fanatic
  • ***
  • Posts: 177
    • View Profile
    • Eric Online
    • Email
A rides on A?
« 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?

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: A rides on A?
« Reply #1 on: 2006-10-18, 04:24:01 PM »
Have you tried creating two classes: Rider and Platform, and make each box a member of both?  (Then make riders ride on platforms)

eric22222

  • Fanatic
  • ***
  • Posts: 177
    • View Profile
    • Eric Online
    • Email
Re: A rides on A?
« Reply #2 on: 2006-10-18, 07:36:59 PM »
Ah, excellent; works perfectly. Thanks!