Issue: Character controller y velocity going crazy
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?!
0 -
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.
0 -
Hi @Noxirus ,
Please use the new "NetworkCharacterControllerPrototype" (https://doc.photonengine.com/en-us/fusion/current/manual/prebuilt-components#networkcharactercontrollerprototype) and check the results.
--
Ramon Melo
Photon Fusion Team
0 -
I had a same problem at 'Fusion SDK 1.1.1 F Build 512'.
So I changed it to 1 when Velocity.y is greater than 1.
0