i’m developing a game for android, and i have problems with triggers, i want to do certain actions if a character touches certaion spots, but the OnTriggerEnter function gets called quite randomly.My basic setup is a non-static animated character with rigidbody and a capsule collider, and other non-static objects, with box triggers on them, usually they intersect for 5-10 frames or more and yet sometimes the function gets called and sometimes not
A concrete situation: i attached box triggers to my characters feet and have a runnning animation, OnTriggerEnter i instantiate a footprint, sometimes he can step 3 times consequitively leaving a footprint behind, and sometimes he can take 5 steps without leaving a single one, the animation is looped and quite symetric (same penetration values) and the trigger and the collider intersect for 5 frames at least, and the terrain is absolutely flat (made out of box colliders)
it also happens in other situations, the only temporary fix i found is raycasting, but its not to convenient to use