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.

Code Snippets / 3D Door Mechanics

Author
Message
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 21st Dec 2006 03:28
sample 1


indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 21st Dec 2006 03:29
sample 2 : using a distance function, this was an old snippet i had ages ago. The SQRT distance function can be replaced by a vector one.


indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 21st Dec 2006 03:31
sample 3 : two swinging doors.



indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 21st Dec 2006 03:32
sample 4 : drawbridges


TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 21st Dec 2006 13:51
Nice! Problem with number 2 is that if you go right to the edge of the door you are still far away enough from the centre that it won't open. Really like 3+4. You've reminded me just how much I want to make a media-less RPG!

indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 21st Dec 2006 16:24
enjoy!
they are basics to get started.
you can adapt these examples to flourish your game with any concept you want really.

sadsack
20
Years of Service
User Offline
Joined: 27th Nov 2003
Location: here
Posted: 21st Dec 2006 19:05
nice indi
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 21st Dec 2006 23:37
Really cool code. Not in the kind of style I'd use, I prefer to make function, haha

indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 22nd Dec 2006 01:34 Edited at: 22nd Dec 2006 14:26
yeah these are years old, i think 2004 old.

Login to post a reply

Server time is: 2024-11-22 23:40:41
Your offset time is: 2024-11-22 23:40:41