On another thread someone asked about a FPS player example that can cope with slopes, jumping etc...
I had this code laying around and I'm not going to use it, so it might as well be available. Originally it was to test a Tokamak ragdoll enemy.
You can move with A S W D, jump with space, shoot with the left mouse, hold the right mouse to fire the grappling hook (a red blob!), then keep holding to pull yourself towards it, and release the right mouse when you want to catapult yourself upwards / downwards / sideways etc...
Pressing RETURN will release the Tokamak ragdoll who is right at the top of the tower - he will then tumble all the way down to the ground.
Hope someone finds this useful.
Download is 1.12mb, includes source code and Tokamak DLL. (NOTE - sfx and weapon models etc.. are not mine and shouldn't be used commerically etc...)
http://www.jameskett.dsl.pipex.com/Tokamak_Ragdoll.zip
Screenshots :

I had this code laying around and I'm not going to use it, so it might as well be available. Originally it was to test a Tokamak ragdoll enemy.
You can move with A S W D, jump with space, shoot with the left mouse, hold the right mouse to fire the grappling hook (a red blob!), then keep holding to pull yourself towards it, and release the right mouse when you want to catapult yourself upwards / downwards / sideways etc...
Pressing RETURN will release the Tokamak ragdoll who is right at the top of the tower - he will then tumble all the way down to the ground.
Hope someone finds this useful.
Download is 1.12mb, includes source code and Tokamak DLL. (NOTE - sfx and weapon models etc.. are not mine and shouldn't be used commerically etc...)
http://www.jameskett.dsl.pipex.com/Tokamak_Ragdoll.zip
Screenshots :
