I’m currently working on a game involving a lot of physics and a character controller. The project was ported from unity 4.2.2 to 5.0.1 recently and I noticed a difference in the behavior of the character controller.
When I put the controller directly inside a convex mesh collider the 4.2 version stayed inside and the player can exit as he wants, the 5.0.1 is ejected vertically as soon as Move() is called.
There are two gifs of what happened, both times I put the character controller (with character motor script from 4.2) inside the cube and then try to move. The cubes have a kinematic rigidbody with a convex mesh collider.
Unity 4.2, working as intended
Unity 5.0.1, player launched in the air.
I’s a problem as the gameplay involve slow-motion without accelerating physics calculation. Point is the player will often collide with cubes with a high risk of getting launched high in the air (1000m approx.).
If anyone has an idea of how to get back to the behavior of unity 4.2 it would be a great help.
I’m having this same issue in our game. It looks like it’s gone completely un-addressed, which I guess means I’m out of luck. It would be spectacular if a developer or QA guy or anyone would acknowledge this is a real issue. I’m on 5.0.2f1 FWIW.
Ok, I see that guide but that changes nothing. Its a very big problem for us since we had to switch off collision between players and NPC’s as they are throwing players in the air while they are moving. I see nothing in that guide that might help us fixing it.
Hi,
I have spoken to the physics team, it sounds like it could be a bug that was fixed in 5.2.2p2: (682939) - Physics: Allow slope limit to be considered for non-static objects.
If this does not fix the problem please file a bug report with an example project so we can investigate.
Character controler is still broken on 5.3. When he meets dynamic collider, he moves on to its tip. So slope limit for dynamic objects still dont work.
Also slope limit is not working on speed tree models when collider is not absolutely vertical. If Slope limit is 48 as an example, and tree collider rotation is 85 degree (almost vertical) you could easily climb on it. On 90 degree it works fine.