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 / DBP Running Off my Matrix

Author
Message
Red Kite
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location:
Posted: 6th Jul 2004 11:39 Edited at: 6th Jul 2004 12:24
I didn't know exact how to search this one. But the problem i'm having is that I have a char loaded infront of the camera and it moves forward when I hit up and turns when I hit left and right etc... ( Though I notice it pivots with an arc instead of turning in place) and if a player moves to the end of the matrix my if statements should catch them but instead they can proceed outside the the matrix a couple of steps then they become stuck outside the matrix
My code:


The code itself is a combination between several tutorials.

Another problem I have is when I use


the matrix will still look flat and only the camera will move up and down (though there is no visible hill there?!)

Anyways hope I explained my problem well. And sorry I didn't really know how to search this topic

Thanks for your time,
Red Kite

-minor edit to fix a variable name
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 6th Jul 2004 22:06
Had to rejig a fair bit. Commented out load image and load object commands so I could test without media.

UPDATE MATRIX is command you have to run after ranomizing matrix or changing matrix in any way.

You was also referring to X# and Z# in ground height which is odd as you dont use those variables!

If you want any more explanation, just ask




Boo!
Red Kite
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location:
Posted: 7th Jul 2004 03:37
Sweet!
I thought I had corrected all the variables but copying them from several different tutorials was just asking for errors I suppose.

Thank you very much for your help spooky I now have it running ^_^

and my goblin is jogging over the hills

Login to post a reply

Server time is: 2024-11-27 00:41:46
Your offset time is: 2024-11-27 00:41:46