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 / first person camera collision

Author
Message
sjonny
18
Years of Service
User Offline
Joined: 25th Nov 2006
Location: darkbasic classic
Posted: 25th Nov 2006 17:16
I want to create a game about my school for a project, but one thing i can't make the collision when i have the first person camera. i need an object for this, but i want to do it with a first person camera. how can i do this?
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 26th Nov 2006 01:20
Simply create a cube and position it at the same position as the camera each time you move it.

It won't be seen, but you can use it for the collision calculations.

TDK_Man

sjonny
18
Years of Service
User Offline
Joined: 25th Nov 2006
Location: darkbasic classic
Posted: 26th Nov 2006 11:04
i did that but then the cube came in the screen, do you have a solution to this. maybe a script or something
sjonny
18
Years of Service
User Offline
Joined: 25th Nov 2006
Location: darkbasic classic
Posted: 28th Nov 2006 07:51
i got it now i needed to change the height of the camera not the distance.

Login to post a reply

Server time is: 2025-05-26 04:55:23
Your offset time is: 2025-05-26 04:55:23