Hi,

How to get automatic friction to work for pXent_move?

I tried setting pXent_setfriction(my, 100); for objects but it doesn't seem to do anything. While pXent_setelasticity (bounce effect) does seem to work.
Basically what I want is that if characters move through objects like crates they not only push away the crates but their movement speed is also reduced while doing so.

ps: pXent_settype for objects like e.g. crates is set to PH_RIGID, the player is set to PH_CHAR.


Last edited by Reconnoiter; 04/24/16 20:06.