Hi all and happy new year, best wishes to all Uniterz
Can someone tell me why when I set “Freeze Rotation” on my player’s rigidbody it goes through objects that have colliders ? When I turn it off, the collisions occur normally…
I have to make a cannon/rocket-man (like in Pain on PS3) that bounces on the terrain to reach the farthest distance to win. I’m adding a big relative force on Z at launch to make the player go straight (on Z) and a little relative force on Y to make it fall.
Any idea please ?
Thanks
Edit : I rewrited the code and it works now, I think it was a badly downwards applied force and several physical material settings that caused the problem. Ciao !
Well, the object is moving fast enough it can clip through other objects due to the distance moved per frame. Have you tried shooting it through those same objects at a slow speed? If it doesn’t collide even then, I’d probably have to see it in action to figure out what was going on.
Here’s a debug version if you change have a look. Just press space to launch the player, if you uncheck Freeze Rotation in the editor, you’ll see that it collides well with the terrain…
Upload on the forum seems to be broken, so I used an upload site :