Project Link: [Updated: 12 August 2007]
http://www.enigmatekuk.com/forumposts/FPS.zip
Ok, so I bought Dark Physics and Dark AI...fantastic I thought, I'll just rip out all that Newton stuff and bang in Dark Physics in its place and off we go.....how wrong I was.
If you look at the demo...and I apologise for the sloppy code/bad modelling skills etc...But I'm really not that impressed. As you can see, I have things like stairs, ladders, gravity, physics crates, etc. I've got a lot of this from looking at the demo's etc but I can’t manage a few simple (but important things):
1. How do I make the player be able to 'push' the crates around if their mass allows it. Newton had all this built in. Now it’s probably because I’m using the character controller thing, and not a rigid body but I'd like to know if its not possible either way.
2. How do I implement crouching? With Newton I could change the height of the players collision object and all is well, will this work for DP? My attempts with destroying / recreating the character controller while the crouch key is held are messy at best
3. Jumping...you'd think it'd be easy, smash the player under his feet and watch him go up into the air a little bit and fall back to earth due to gravity...if someone can share that little gem of code with me I'd be overjoyed
.
I realise I’ve only had the products a couple of days and I'm probably gonna get shot
for one reason or another, but I'm no newbie, I've done a lot with DB Pro, for a long time, and worked a lot with physics (Newton), I'm just so frustrated with the whole thing, not least with the lack of decent demos and documentation.
I'd love people to take a look at the demo and have a go at adding/editing/improving features, it'd be great if we had a fully working First person shooter shell that people could take and play with. I'm sure it would benefit all users of Dark Physics.
For those who want to see before they download…here’s a couple of screenies: