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

Author
Message
alpha numeric characters
21
Years of Service
User Offline
Joined: 17th Jan 2004
Location:
Posted: 23rd Jan 2004 02:57
Ok i need more help. It won't increment the varible addheight. I first tried a for next but that didn't work so i gave each a seperate collision detection command of ther own but the varible won't increment on collision with side walk. Any ideas?
Travis
21
Years of Service
User Offline
Joined: 9th Nov 2003
Location: West Aust.
Posted: 23rd Jan 2004 03:46
put in a line that prints the current addheight value to the screen and see is its acually picking up the collision with ur temple and adding if it does then i dont know what ur problem could be id say it would be about those set extra walk plan lines
alpha numeric characters
21
Years of Service
User Offline
Joined: 17th Jan 2004
Location:
Posted: 23rd Jan 2004 04:07
But it is suppose to be detecting collision with sidewalk
alpha numeric characters
21
Years of Service
User Offline
Joined: 17th Jan 2004
Location:
Posted: 23rd Jan 2004 04:13
And it is not detecting the collision
Travis
21
Years of Service
User Offline
Joined: 9th Nov 2003
Location: West Aust.
Posted: 23rd Jan 2004 04:38
ok well iv never used the inbuilt collision so im not sure
bibz1st
22
Years of Service
User Offline
Joined: 2nd Jan 2003
Location:
Posted: 24th Jan 2004 14:59
maybe if you make a collision box for your player object it might work, cos if you scale an object, the objects original dimensions are still used for DB's built in collision detection (I think )which would mean you have scaled your player 3 times the size of its automatic collision box.Dont know if this is your problem but it's just a suggestion, you can see what I mean if you try scaling the player object by 50,50,50 in the tutorial that you used for your game, if you then disable objects zdepth 11 and set the camera lower and further behind you will see the cylinder is seems to be floating.
rob

Login to post a reply

Server time is: 2025-05-22 17:18:41
Your offset time is: 2025-05-22 17:18:41