Skip to content

Netcode Example - Release v1.1.0

Compare
Choose a tag to compare
@nicholas-maltbie nicholas-maltbie released this 18 Dec 08:57
· 93 commits to main since this release
801a9f2

Added basic netcode project and improved movement tracking

OpenKCC Changelog

  • Updated kcc state machine to be synced with the network kcc.
  • Removed ParentConstraint requirement from the KCCStateMachine
    and replaced with a new RelativeParentConfig object to managed
    player's relative position to a parent object.
  • Reorganized camera controller code to be more reusable between the main
    and netcode projects.
  • Moved camera control code to the nickmaltbie.OpenKCC.CameraControls
    namespace within the openkcc project.
  • Added example using unity Netcode and sub package com.nickmaltbie.openkcc.netcode
  • Reformatted some code in the KCCStateMachine to reduce the amount of copied
    code between netcode character controller and basic character controller.
  • Modified github actions workflows to deploy netcode example to the site
    under the directory Netcode.
  • Depreciated old fields for objects that were duplicated in
    the netcode version of the openkcc.
    Whenever possible, I will include an auto-translation to the new format
    to avoid having to save and manually copy values between version upgrades.
    • Depreciated the old fields for KCCStateMachine and replaced with the
      object HumanoidKCCConfig. Also added some code to auto-convert the old
      fields into a HumanoidKCCConfig when the object is first de-serialized.
      Tagged this version with a string property and called this first version
      v1.0.0 and will use a semantic versioning system to update the value.
    • Depreciated the old fields for CameraController and replaced with the
      object CameraConfig. Also added some code to auto-convert th e old
      fields into a CameraConfig when the object is first de-serialized.
      Tagged this version with a string property and called this first version
      v1.0.0 and will use a semantic versioning system to update the value.

OpenKCC.Netcode Changelog

  • Updated NetworkMovingPlatform and FixedRigidbodySet to move in the Update
    function to synchronize with server tick properly.
  • Setup a NetworkRelativeParent and NetworkRelativeTransform classes
    to manage the relative position of an object to a parent object
    without having to actually parent the objects as is required
    by the NetworkTransform class.
  • Added a basic NetworkMovingPlatform class.
  • Added tests for basic network behaviours and test framework.
  • Setup class for managing netcode tests NetcodeInputRuntimeTest
  • Added basic tests for the NetworkKCC
  • Added controls for loading and configuring ssl connection
    • Also added field for supplying a private key for the server hosting.
  • Change port configuration for web socket to use secure connection over https.
  • Added example using unity Netcode and sub package com.nickmaltbie.openkcc.netcode
    • Added example NetworkKCC for a networked kinematic character controller.
    • Included Networked camera controls and networked camera follow.
    • Setup basic NetworkKCC based on the NetworkSMAnim.