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 / collisions with magic world

Author
Message
GameVille
20
Years of Service
User Offline
Joined: 25th Oct 2004
Location:
Posted: 25th Oct 2004 18:26
well, hear the problem:

i'm beginning to write a fps but i'm having a problem (this early....)
to get the player walking over the matrix, i use

height#=get ground height(xpos#,zpos#)
position camera xpos#,height#,zpos#

it all works, BUT ONLY if i use a matrix i randomized/created per code. if i load a matrix created by magic world with the MagicLoad() function, the player walks "trough" the matrix...

Can somebody please help?

Germany ~~~ a undergoing state ^^
BatVink
Moderator
22
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 25th Oct 2004 20:33
You've probably offset the matrix. That is, it's no longer at 0,0,0.

As to collision and Magic World Pro...watch this space. (Don't watch too intently, it's a couple of months away!)

BatVink
http://biglaugh.co.uk/catalog AMD 3000+ Barton, 512Mb Ram, 120 Gig Drive space, GeForce 5200 FX 128 Mb, Asus A7N8X Mobo.
Terms & Conditions apply
GameVille
20
Years of Service
User Offline
Joined: 25th Oct 2004
Location:
Posted: 27th Oct 2004 04:18
I used:ยด
(i don't write the include there ^^)



Germany ~~~ a undergoing state ^^

Login to post a reply

Server time is: 2025-05-24 12:19:16
Your offset time is: 2025-05-24 12:19:16