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 / Problems with my engine

Author
Message
Jack
21
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 30th Apr 2005 18:17 Edited at: 1st May 2005 03:11
I've got a stupid problem: there is a variable with the name force#
if I set it to 10.0 then the cam glide to the lowest point in the map. If I set it to 100.0 then it doesn't but then I can walk over very hight hills. why?????? (Need help please)
I'am a idiot

and maybe this can help (this is a part of my game with this problem)
http://www.onlineartsgames.de/Matrix.rar


here is the code search for force#




Download Desert Dead DBCFPS at http:\\www.onlineartsgames.de
SpazDC
21
Years of Service
User Offline
Joined: 20th Oct 2004
Location: Hmm... Good question
Posted: 1st May 2005 01:46
your problem dosen't make to much sense to me. can you tell us what you want it to do.

give me what i want and i will go away!
Jack
21
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 1st May 2005 03:11
I want a matrix collision e.g don't run over hills
I don't want to glide to the lowest point of the map!

Download Desert Dead DBCFPS at http:\\www.onlineartsgames.de
CaseyK
23
Years of Service
User Offline
Joined: 27th Jun 2003
Location:
Posted: 1st May 2005 08:20
Well first of all I want you to see the matrix sculpting method you decided to use is VERY lengthy. I used too use the Data command and For/Next loop to read it so you can actually kinda see what you're making visually with-in your code. I used too have a very similair problem with this then I switched too sliding collision boxes around my hills instead of checking the ground height and going acordingly.

eh#=get ground height(1,ex#+mx#,ez#+mz#) + get ground height(3,ex#+mx#,ez#+mz#)
Is it MX# or XM#? I saw a XM# declared and no MX#, maybe this could help(or maybe I am having trouble reading your code...)?
Jack
21
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 2nd May 2005 00:27
No it doesn't help and I can not buid boxes around hills

Download Desert Dead DBCFPS at http:\\www.onlineartsgames.de

Login to post a reply

Server time is: 2026-07-10 02:32:08
Your offset time is: 2026-07-10 02:32:08