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.

DarkBASIC Discussion / matrix tile collision

Author
Message
Plugged
22
Years of Service
User Offline
Joined: 30th Nov 2002
Location: Hertfordshire
Posted: 12th Oct 2005 00:22
hi all,
i was just wondering if any onehad a code snippet i could use for a matrix tile collision in that it works out the angle of the tile you are about to step on and if its too steep it doesn't left you on. i am trying to get a similar collision to that in the equilibrum world map demo. if you haven't got i snippet could you guys at least point me in the right direction.

cheers
plugged


Work Hard; Play Harder ;
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 12th Oct 2005 00:25
MatEdit.
Plugged
22
Years of Service
User Offline
Joined: 30th Nov 2002
Location: Hertfordshire
Posted: 12th Oct 2005 01:21 Edited at: 12th Oct 2005 01:29
okay thanks i have looked at matedit but as the matrix has already been created than in magicworld that isn't going to work. however i think i might be able to use Magellan's code and modify it to make it work in my matrix

cheers
plugged


Work Hard; Play Harder ;
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 13th Oct 2005 11:37 Edited at: 13th Oct 2005 11:37


This should work with any matrix. Change the "toosteep#" variable to change the max height difference.

Immunity and Annihalation makes Immunihalation...

Login to post a reply

Server time is: 2025-05-22 12:48:42
Your offset time is: 2025-05-22 12:48:42