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 / help with collision

Author
Message
IHC KB3
6
Years of Service
User Offline
Joined: 28th Sep 2012
Location:
Posted: 6th Oct 2012 23:33
I am having a little difficulty understanding collision and speed using the sparky demo. I have created a map with doorways. Somw doorways are wider than others. I can't get the player to fit through standard doorways. I do not quite get how to change the code to allow going up stairs. I also don't see using the sample code how to change movement speed. I am not making a fancy shooter, just a virtual walkthrough (at least for now). I do have the basics working. I can change maps depending on location, etc.

I have altered the sample code to fit my purposes. ANy help appreciated.



Making a simple 3D walk through of a real place. Using DarkGDK, 2008 C++, 3DWS, Sparky's Collision
IHC KB3
6
Years of Service
User Offline
Joined: 28th Sep 2012
Location:
Posted: 7th Oct 2012 01:13
Update. Making the "player" smaller works. The only reason I have an object for a player is for collision and navigation. I really need to raise the caemra angle, and make it so I can go up steps. Having the character that small I can't go up steps.

Making a simple 3D walk through of a real place. Using DarkGDK, 2008 C++, 3DWS, Sparky's Collision
IHC KB3
6
Years of Service
User Offline
Joined: 28th Sep 2012
Location:
Posted: 7th Oct 2012 01:36
Update 2 - fixed my speed problem. Finally used the right search parameters and found an example. Now just need to float this guy above the floor somehow. <refine search terms>.

Making a simple 3D walk through of a real place. Using DarkGDK, 2008 C++, 3DWS, Sparky's Collision

Login to post a reply

Server time is: 2019-05-25 19:54:59
Your offset time is: 2019-05-25 19:54:59