Skip to content

Instantly share code, notes, and snippets.

View WolframGroetsch's full-sized avatar
🐺

Wolfram Grötsch WolframGroetsch

🐺
View GitHub Profile
@WolframGroetsch
WolframGroetsch / gist:018a127820fe11867e1816dc3fb08608
Created November 21, 2023 19:27
FishNet prediction movement code for KCC
public struct PlayerCharacterInputs // This struct only handles the local input and is used to pass it to SetInput method
{
public float MoveAxisForward;
public float MoveAxisRight;
public Vector3 CameraRotationEuler;
public bool JumpDown;
public bool JumpHeld;
public bool CrouchDown;
public bool CrouchUp;