Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Argh, collision..

Author
Message
Ishoka
21
Years of Service
User Offline
Joined: 27th Apr 2003
Location:
Posted: 20th Jul 2003 10:13 Edited at: 20th Jul 2003 10:14
Alright, i made this crappy little program here and i needed sliding collision, so i look around the forum. I came across the thread 'Sliding collision made easy' in the snippets forum, and i used the functions in it. All seemed to be well, the big sphere collied well with the little ones, and worked fine against the top and bottom walls, but the two side walls don't seem to be working right. The collision boxes have been rotated on the y axie 90ยบ, but the walls them selves havent moved... I really need help with this...



John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 21st Jul 2003 03:14
Thats my function I wrote - try changing it to this.......



Adding in the extra rotation flag - which can be changed to 1 for rotated objects.

RPGamer

Current Project: Eternal Destiny
Questions? Comments? Suggestions? Go to the Eternal Destiny Forum!

Login to post a reply

Server time is: 2024-11-24 22:41:45
Your offset time is: 2024-11-24 22:41:45