If you use the USE_BOX flag in your c_trace call then an ellipsoid volume will be traced from the player down to the ground, so even if the player is mostly standing off of a ledge he won't fall. Trace far enough that the ground will be detected even from the far horizontal edges of the ellipsoid and write some code that will keep the player's feet on the ground when the trace returns a hit from a distance.

Last edited by Redeemer; 10/20/11 21:36.

Eats commas for breakfast.

Play Barony: Cursed Edition!