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.

Dark GDK / Camera Collision Help

Author
Message
DrFoxx
15
Years of Service
User Offline
Joined: 12th Sep 2009
Location:
Posted: 22nd Apr 2010 21:34
I'm currently using DarkGDK to make a FPS, I have everything working apart from sliding collision for going up stairs etc.

I've downloaded Sparkys and looked at the sliding demo but I can't find a thing for doing sliding collision with a camera as I don't have a character to show on screen and all the examples I can find are for 3rd person

Does anyone have any idea how to set up collision with a camera? I'm really stuck!

Thanks!

~Foxx
Matty H
16
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 22nd Apr 2010 23:13 Edited at: 22nd Apr 2010 23:14
Can you create a sphere, set it up with sparkys, hide it, then place the camera in its position every loop?

DrFoxx
15
Years of Service
User Offline
Joined: 12th Sep 2009
Location:
Posted: 23rd Apr 2010 17:10
I've gotten it to work!

I forgot about the example code having an option to change views :p

~Foxx

Login to post a reply

Server time is: 2024-11-20 01:35:29
Your offset time is: 2024-11-20 01:35:29