Issue: Character controller y velocity going crazy

Noxirus
Noxirus
edited April 27 in Fusion

Hello everyone!

I am getting started learning networking and I am making a small top down game. Currently I am having this issue where when I hit a slope going upwards it causes my character to shoot up into the sky, after hitting some crazy high number they return back to the ground suddenly.

The setup I am using is the network Character Controller Prototype script (The other was deprecated).

I figured out a current fix is to greatly increase the gravity on my character and this keeps him grounded (even though he shoots to the ground pretty quick when going off edges).

My character is about the size of a 1x1x1 cube (maybe a bit taller). I am using the scripts recommended by the photon fusion introduction (where you create a player cube prefab and a ball).

Any thoughts or ideas on this would be greatly appreciated!

-Noxirus

Comments

  • Moving this to the Fusion subforum.

    In general, this sounds more like an issue with Unity physics, if the local character has this problem?!

  • Can we get a link to the Fusion subforum? Thanks.

    Noxirus, I switched from the deprecated CCP to the new one too and the cube would not even moved. A few hours later I remembered what I had done, switched back to the deprecated value, and the sample worked. Just FYI.