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 / Camera Collision

Author
Message
freestyler
21
Years of Service
User Offline
Joined: 16th Dec 2002
Location:
Posted: 16th Dec 2002 14:02
How do I implement Camera Collision in a First Person Shoot - 'em up. Should I create A cube, and put the camera in frount of it, and just add object collision between objects and the box. Even if this IS a good way, i still havent a good clue has how to do this.

Any help will be much appreciated !

Cheers
Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 17th Dec 2002 22:32
If you use static collision then you can specify an area around your camera to be the subject of your collision (using the 'get static collision()' command). If you want to do normal object collision then you should place an object at the coordinates of your camera and make a collision box the size of your character, hide the object if you want.

freestyler
21
Years of Service
User Offline
Joined: 16th Dec 2002
Location:
Posted: 18th Dec 2002 02:10
Cheers! I'l try it

aprilfan
21
Years of Service
User Offline
Joined: 3rd Oct 2002
Location: Hell
Posted: 18th Dec 2002 02:57
make a sphere
hide it
and place it in front of the camera/behind the camera
I think this will work... try it anyway...

We could have handled that better.

Login to post a reply

Server time is: 2024-04-19 14:52:56
Your offset time is: 2024-04-19 14:52:56