You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi (whoops, I created it before writing something),
I'm using the (Non-Physics-)Demo as a base for the movement of my game on Unity 4.5. Thanks for that. But if I stay on the same spot for a few minutes, there's an error "stack overflow", the one ray is really long onto the ground and is stuck. Plus, the vertical velocity is stuck at -2,778.
I tried to look up why it is happening, looked generally at the vertical velocity - and it slowly stacks down because gravity is added constantly (gravity * Time.deltaTime). If you zoom in, you can also see the one raycast, when your player is grounded, jittering. It slowly begins to grow, when suddenly the stack overflow appears and unity can't follow up.
The text was updated successfully, but these errors were encountered:
Hi (whoops, I created it before writing something),
I'm using the (Non-Physics-)Demo as a base for the movement of my game on Unity 4.5. Thanks for that. But if I stay on the same spot for a few minutes, there's an error "stack overflow", the one ray is really long onto the ground and is stuck. Plus, the vertical velocity is stuck at -2,778.
I tried to look up why it is happening, looked generally at the vertical velocity - and it slowly stacks down because gravity is added constantly (gravity * Time.deltaTime). If you zoom in, you can also see the one raycast, when your player is grounded, jittering. It slowly begins to grow, when suddenly the stack overflow appears and unity can't follow up.
The text was updated successfully, but these errors were encountered: