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 / collision problem when using camera collision

Author
Message
Stevie
User Banned
Posted: 30th Jul 2004 20:23
Hi,

I have a problem with collision - finally sussed the 3d bit out - and now its collisions turn!!!!!!

I set up camera collision, but for some reason when i tried to move the camera it locked - and wouldnt move. I could only think this happened cos i positioned the camera slightly aboth floor level - using the get ground height terrain command - so maybe cos it actually touching the floor plus 3 the math isnt fast enough to actually realise the camera is not touching the floor (thats my theory anyway) . I then tried positioning a sphere at the camera coord and locking it on so it moved with all movement controls - thus determining the players collision coords - however when i bumbped into a 3d object i went through it>>>.

can anyone supply me with some simply coord so i can see how collision works when using the camera as the player like in an FPS.
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 30th Jul 2004 20:36
What collision commands are you using, some code might help to see what you are trying to do.

Usually collision with terrain is just a simple case of positioning the camera at get ground height every cycle.

Login to post a reply

Server time is: 2024-09-22 18:26:50
Your offset time is: 2024-09-22 18:26:50