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 / Collisions

Author
Message
Grenadiac111
14
Years of Service
User Offline
Joined: 23rd Dec 2009
Location:
Posted: 26th Jan 2010 23:50
in my program i need to set up collisions but i have no idea how to do this. every time i try to make the camera collide with the various Directx objects in the 3d world the camera stops as soon as it is created and will not move. could somone please tell me how to set up the collisions if possible could you show me how to make sliding collisions. for refference the camera is 0 and all of the objects in the 3d world are Directx including the map and terrain.
Matty H
15
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 26th Jan 2010 23:58 Edited at: 27th Jan 2010 00:15
You could try this:
fulcrum physics
I've just updated and I need people to test it.

Or search for sparkys collision.

You should also post your code so people can see what you may be doing wrong.


Edit: Just realised, Fulcrum Physics may not be best option for camera collision at the moment, I'll work on that for the next update.
Grenadiac111
14
Years of Service
User Offline
Joined: 23rd Dec 2009
Location:
Posted: 27th Jan 2010 00:21
i would post my code but at the moment everything is spread out over 25 cpps, it is barely object oriented and has about 50 .X files.

It looks good but since im still new to DGDK i would rather see the code i need use so that i can adapt it to my needs.
Grenadiac111
14
Years of Service
User Offline
Joined: 23rd Dec 2009
Location:
Posted: 27th Jan 2010 03:10
all right nm i figured it out the .x world was set by default to a box collision which stoped the camera as soon as it was created.

Login to post a reply

Server time is: 2024-10-01 23:38:44
Your offset time is: 2024-10-01 23:38:44