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 / Object Collision

Author
Message
qwe
21
Years of Service
User Offline
Joined: 3rd Sep 2003
Location: place
Posted: 25th Sep 2003 02:46 Edited at: 25th Sep 2003 02:48
I've tried for a few days and cannot seem to understand it...
I've read through the examples and DB help stuff on it...
I think that what I need is for an expirienced programmer who is good at teaching to talk with me for about an hour on aim or msn or yahoo messenger or icq if he has the time. I think I am 0 hours from server time. Any time not during school will suit me excepting tomorow (Sep24).
Thanks a lot if you can spare the time

p.s. to have u know ive also looked at plenty of collision code snippets and posts.
i would prefer camera collision
qwe
21
Years of Service
User Offline
Joined: 3rd Sep 2003
Location: place
Posted: 26th Sep 2003 01:01
Ill give you five bucks via envelope mail. Plus five more if I'm satisfied with what I was tought.
email Solaleb@aol.com
qwe
21
Years of Service
User Offline
Joined: 3rd Sep 2003
Location: place
Posted: 28th Sep 2003 02:38
Okay then

Screw DB's collision commands
ill make my own..
ill actually make use of what we learn in math class
HardBoot
21
Years of Service
User Offline
Joined: 10th Sep 2003
Location: Earth
Posted: 29th Sep 2003 01:11
explaining code over a chat prog would be hard. post the code your working with here and i bet you get some help. gl
qwe
21
Years of Service
User Offline
Joined: 3rd Sep 2003
Location: place
Posted: 29th Sep 2003 04:12 Edited at: 29th Sep 2003 04:13
i used the distance formula for circle collision and simple if y less than object position y - 100, etc, for box collision
now, i wonder if i can impliment sliding collision to these two simple collision formulas....
ill think about it in school tomorow

thanks Chris for your help on aim, here's your five bucks
thanks, Chris. ur really smart. thanks for helping me out.
no problem Chris! glad to be of help!
okay. bye chris
cya!

edit i will also need to think about ramps
qwe
21
Years of Service
User Offline
Joined: 3rd Sep 2003
Location: place
Posted: 30th Sep 2003 00:57


xc# = camera x position
camyrot# = camera y angle
This code gives collision for a cube that is 350 units
and it gives sliding collision for one face of the cube, i have yet to do the other faces, it will just take some minor tweaking of the sliding collision code for this face

i have yet to think about sliding collision for circular collision, i'll think about it tomorow at school.
koshi
21
Years of Service
User Offline
Joined: 20th Aug 2003
Location: Cyberspace
Posted: 30th Sep 2003 06:34 Edited at: 30th Sep 2003 06:37


hope it helps..
[Edited}oops dont mind the code on the bottom..

"Hello this is the suicide hotline, please hold..."
http://www.rovokaa.tk/ -
qwe
21
Years of Service
User Offline
Joined: 3rd Sep 2003
Location: place
Posted: 1st Oct 2003 03:59
koshi i already figured out sliding collision for boxes
what currently eludes me is sliding collision for a circular collision area that uses the distance formula
uses up a bit of schooltime brainstorming ways i can do it
qwe
21
Years of Service
User Offline
Joined: 3rd Sep 2003
Location: place
Posted: 9th Oct 2003 07:49 Edited at: 9th Oct 2003 07:50
Ran into a problem. When I try to make my box collision into a function, you are stuck at your spot once collision = 1. Here is the code you might need to explain to me why I'm an idiot this time.


My function for box collision


What i used before, that i turned into a function that doesnt work


for detecting, then enacting for the function program:


for detecting then enacting in the non function program:

Login to post a reply

Server time is: 2024-09-21 03:55:35
Your offset time is: 2024-09-21 03:55:35