(11-12-2010, 11:03 AM)Gamemakingdude Wrote: No body know any way?
The area for ladders is not required. Atleast for some of them. What you could do is give the player some bodyforce, away from the ladder. Then add an area to the ground, when which player hits it, the player faints.
void AddPlayerBodyForce(float afX, float afY, float afZ, bool abUseLocalCoords);
PS. The values you put in, need to be very high. In fact, if I recall correctly something like 1000 wont be enough, test it with different values.
EDIT: as for the fainting, I would use wakeUp(); command somehow.. it's a problem, if you only want the player to faint; not to "die".