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 / I go through the ground!

Author
Message
Some Warped Guy
20
Years of Service
User Offline
Joined: 17th Nov 2003
Location:
Posted: 18th Nov 2003 00:56
How do i stop going through the matrix on the ground. I am making a flight simulator type thing. Please help me thanks
skater1
20
Years of Service
User Offline
Joined: 18th Oct 2003
Location:
Posted: 18th Nov 2003 01:42
im not good at programing or anything im new. but you could maybe make a huge cube right under the matrix so u cant see it. then just do object collision. But it might not work im not that good yet so watever.

tim
John H
Retired Moderator
21
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 18th Nov 2003 03:46
No, thats too complicated for this. Very simple solutions (read the tutorials)

Make Object Cube 1,10
Make Matrix 1,100,100,10,10

Do
Posx#=Object Position X(1)
PosY#=Get Ground Height(1,posx#,posz#)
PosZ#=Object Position Z(1)

Position Object 1, Posx#,Posy#,Posz#

Loop

Read the tutorials

RPGamer


Dont forget to Join the Forums!

Login to post a reply

Server time is: 2024-09-21 09:38:53
Your offset time is: 2024-09-21 09:38:53