Disabling physx force by other rigids

Posted By: Reconnoiter

Disabling physx force by other rigids - 08/12/17 13:38

Howdy,

I have a problem with physx in my game that items fall through ground when an object (like an actor or crate) moves against them, probably because the items are to small (though lowering ph_check_distance doesn't seem to fix this). However if the items fall because of gravity, than this doesn't happen. So I was wondering if there is a flag that lets the items ignore pushes from other rigid objects but still lets them be impacted by gravity and bounce effects etc. Anyone know how this can be achieved?
Posted By: txesmi

Re: Disabling physx force by other rigids - 08/13/17 08:18

Hi,
I once had a similar problem (there was no player pushing things) and minimizad it (it was not really 100% soluted) increasing the physX step rate (fps_max*2) and iterations (128). Continuous collisions were activated, of course.

Salud!
Posted By: Reconnoiter

Re: Disabling physx force by other rigids - 08/13/17 12:09

Hey,

Thanks for the suggestion, I tried it though I still have the same problem. I did found out that freezing the rotation mostly removes the problem so that atleast something laugh
pXent_setbodyflag (my, NX_BF_FROZEN_ROT, 1);
© 2024 lite-C Forums