Originally Posted By: Reconnoiter
Hi 3run,

I have set friction for the RIGID body (/crates) and move the CHAR through pXent_move against them, that should work right? But it doesn't the player CHAR just keep walking at full speed through a hundred of crates and pushes them away like its nothing. grin Maybe I am missing some flag?

ps: this what I have set for the player CHAR:

Code:
wait(1);
c_setminmax(my);
pXent_setskinwidth(my, phy_skinwidth); //permitted penetration of objects 
pXent_settype(my, PH_CHAR, PH_CAPSULE); //PH_BOX

No, you have to know that CHAR ignores all RIGID bodies (that's the way native physX plugin works in Acknex). You can't change that by friction or by anything else. You can do some nasty workarounds, f.e. use traces to disable input, when trace hit RIGID bodies (take a look at my latest movement code that uses CHAR with BOX shape). BTW as far as I know, when you set friction via 'set_friction', it will affect only when you move that object against other bodies, not visa versa (as in your example), but I might be wrong grin


Best regards


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung