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 Physics & Dark A.I. & Dark Dynamix / Has anyone ever gotten camera collision for 3rd person games to work in DarkPhysics?

Author
Message
Christopher Reeves
17
Years of Service
User Offline
Joined: 20th Dec 2005
Location: Texas, USA
Posted: 8th Feb 2010 10:35
The example on the first person camera demo is pretty straight forward, but I was just wondering if any of you ever got third person game camera collision to work? Because the camera is dependent upon the main character's position...I'm using Sparky's collision right now, but honestly it's not very effective because the camera still manages to slide through corners of my world, which is quite strange.
HowDo
20
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 8th Feb 2010 13:09
how have you got your camera set up, I mean can you see the character's or does eveything move in one view.

f you can see your character's then you are going to have to work out how to do it.

Dark Physics makes any hot drink go cold.
jfroco
13
Years of Service
User Offline
Joined: 1st Dec 2009
Location: Chile
Posted: 11th Feb 2010 19:35
Hello Christopher Reeves,

I tried to make it work but I failed miserably

The world collision worked OK, but I couldn't get a collision registered using "temp = phy ray cast all shapes".

So far, this has been my progress regarding camera collision:

0.- No camera collision at all
1.- Used DBPro's "static volume"
2.- Used Sparky's "SC_SphereSlide"
3.- Used Dark Physics' "phy ray cast all shapes"
4.- Using Sparky's "SC_RayCast"

So far, the fourth method has given me very good results.

Best regards

JF
Christopher Reeves
17
Years of Service
User Offline
Joined: 20th Dec 2005
Location: Texas, USA
Posted: 15th Feb 2010 01:50
Hey Jfroco, thanks man. I did it that way and it's working fine now. Thanks!
jfroco
13
Years of Service
User Offline
Joined: 1st Dec 2009
Location: Chile
Posted: 15th Feb 2010 04:03
Hey Christopher Reeves,

Excellent! Good luck with your game!

Best regards

JF
HowDo
20
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 16th Feb 2010 00:01
Christopher Reeves, if you can make a small demo of how to did it and post is snippets or make a new thread stating what does in the title, then will be wiser next time.

Dark Physics makes any hot drink go cold.

Login to post a reply

Server time is: 2023-02-06 00:20:35
Your offset time is: 2023-02-06 00:20:35