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 / I need a really simple sliding collision explination...

Author
Message
Foxy
19
Years of Service
User Offline
Joined: 4th Jan 2005
Location: The Dale, South Australia
Posted: 6th Jan 2005 13:44
Hiya! First of all, thanks for looking.

I'm after an explination on how sliding collision works and how you go about coding it. I'm using dbc and have been examining the sliding collision example but I cant get a grip on it.

I'm only 14 so I need something I can easily take to.

If anyone can help I'd be mighty glad!

I'm here today, I'm here tomorrow. Meh, it's all the same.
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 6th Jan 2005 22:22
Foxy
19
Years of Service
User Offline
Joined: 4th Jan 2005
Location: The Dale, South Australia
Posted: 7th Jan 2005 08:10
Thanx 4 that Lost In Thought!

If you take a look at the sliding collision example that comes with dbc (not sure about dbpro) it uses the dec command when detecting collisions, but I cant figure out how it works. I've looked through the reference in dbc but I still don't understand it.

Any ideas?

I'm here today, I'm here tomorrow. Meh, it's all the same.
Foxy
19
Years of Service
User Offline
Joined: 4th Jan 2005
Location: The Dale, South Australia
Posted: 7th Jan 2005 20:12
I've been writing a screensaver-type program where the cam bounces around inside a small room. All things are well except for when the cam intercepts with the side walls and it glitches it's way through the wall and out into space, never to return. If someone could tell me what is wrong with my code it would be a great help.

You'll have to download the media file as well to get it to work unless you remove the texture object commands



I'm here today, I'm here tomorrow. Meh, it's all the same.

Attachments

Login to view attachments
Foxy
19
Years of Service
User Offline
Joined: 4th Jan 2005
Location: The Dale, South Australia
Posted: 8th Jan 2005 08:30
grrr... code snippet didn't work, must try source window.

I'm here today, I'm here tomorrow. Meh, it's all the same.
Foxy
19
Years of Service
User Offline
Joined: 4th Jan 2005
Location: The Dale, South Australia
Posted: 8th Jan 2005 09:27
AAAAARRRGGGH

My final resort:
http://www.durdge39.com/forumcode.htm

I'm here today, I'm here tomorrow. Meh, it's all the same.
Foxy
19
Years of Service
User Offline
Joined: 4th Jan 2005
Location: The Dale, South Australia
Posted: 9th Jan 2005 15:07
This post has died... Come to think of it, it was never born in the first place. Mods, if you could, please delete this post.

<div align="center"><img src="http://www.durdge39.com/d39logo.JPG" width="300" height="100"></div>

Login to post a reply

Server time is: 2024-09-23 08:34:03
Your offset time is: 2024-09-23 08:34:03