All Projects → h33p → Unet Controller

h33p / Unet Controller

Licence: mit
A CharacterController based controller for Unity's new Networking system

Projects that are alternatives of or similar to Unet Controller

Gdk For Unity Fps Starter Project
SpatialOS GDK for Unity FPS Starter Project
Stars: ✭ 119 (+58.67%)
Mutual labels:  unity3d, multiplayer
Forgenetworkingremastered
In short, Forge Networking is a free and open source multiplayer game (multi-user) networking system that has a very good integration with the Unity game engine. You wanna make a multiplayer game or real time multi-user application? This is the library for you.
Stars: ✭ 1,338 (+1684%)
Mutual labels:  unity3d, multiplayer
Openmmo
OpenMMO - Groundwork
Stars: ✭ 115 (+53.33%)
Mutual labels:  unity3d, multiplayer
Colyseus Unity3d
⚔ Colyseus Multiplayer SDK for Unity
Stars: ✭ 251 (+234.67%)
Mutual labels:  unity3d, multiplayer
Game Networking Resources
A Curated List of Game Network Programming Resources
Stars: ✭ 4,208 (+5510.67%)
Mutual labels:  unity3d, multiplayer
Com.unity.multiplayer.mlapi
A game networking framework built for the Unity Engine to abstract game networking concepts.
Stars: ✭ 781 (+941.33%)
Mutual labels:  unity3d, multiplayer
Multiplayer Fps
🎮 A multiplayer first person shooter game based on Unity Game Engine
Stars: ✭ 404 (+438.67%)
Mutual labels:  unity3d, multiplayer
Ubernet
Flexible networking library for Unity
Stars: ✭ 10 (-86.67%)
Mutual labels:  unity3d, multiplayer
Slash Framework
Provides both a low-level implementation of component-based entity systems and Unity3D integration for them.
Stars: ✭ 71 (-5.33%)
Mutual labels:  unity3d
Fcnpc
FCNPC - Fully Controllable NPC
Stars: ✭ 73 (-2.67%)
Mutual labels:  multiplayer
Uclicker
A Unity Clicker Library
Stars: ✭ 71 (-5.33%)
Mutual labels:  unity3d
Lines Of Play
Design domino art creations that interact with the real world using the ARCore Depth API.
Stars: ✭ 72 (-4%)
Mutual labels:  unity3d
Rocket.unturned
Unturned 3 implementation of the RocketMod — .NET Game Server Plugin Framework
Stars: ✭ 73 (-2.67%)
Mutual labels:  unity3d
Unity Plane Mesh Splitter
Unity Plane Mesh Splitter
Stars: ✭ 71 (-5.33%)
Mutual labels:  unity3d
Msgpack Unity3d
MessagePack and JSON serializer for Unity3D
Stars: ✭ 74 (-1.33%)
Mutual labels:  unity3d
4dviewstest
4DViews volumetric video + Unity
Stars: ✭ 71 (-5.33%)
Mutual labels:  unity3d
Unity3d Simple Mobile Joystick
Mobile Joystick suitable for any types of game
Stars: ✭ 68 (-9.33%)
Mutual labels:  unity3d
Craft
A simple Minecraft clone written in C using modern OpenGL (shaders).
Stars: ✭ 8,957 (+11842.67%)
Mutual labels:  multiplayer
Davinci
An esay-to-use image downloading and caching library for Unity
Stars: ✭ 74 (-1.33%)
Mutual labels:  unity3d
Nexplayer unity plugin
Stream videos in HLS & DASH with Widevine DRM using NexPlayer Video Streaming Player SDK for Unity on Android & iOS devices
Stars: ✭ 73 (-2.67%)
Mutual labels:  unity3d

A CharacterController based controller for use in Unity's new Networking system.

End-of-life

The (player movement part of the) project does not fully work with Unity 2018.2+ and is not fully programmed in data-oriented, entity component based design, which is the future of the engine. There will not be any feature improvements to the code, apart from occasional bug fixes caused by the engine updates. The code will stay as a basic logic of client-side predicted, server-side authoritative networking system. Forks are welcome.

Features
  • Client-side prediction.
  • Client-side reconciliation.
  • Interpolation.
  • Snapping to grid in order to suppress floating point nature.
  • Relatively low overhead.
  • Quake-like strafing. But most likely very incomparable.
  • Crouching.
  • Animations.
  • Network data analyzer to compare the results between the server and the client.
  • First person and third person camera.
  • Sliding of steep surfaces.
  • Ability to set AI target (basic, moves straight towards the target).
  • Recording and playing back gameplay.
  • Foot IK.
  • Ragdoll.
  • Lag compensation (WIP).
Performance (On 2015 MacBook Pro with quad-core i7)
  • Up to 1 millisecond on server every time a network update happens.
  • Up to 1 millisecond on client every time a network update happens. Sometimes it jumps a bit higher if there are a lot of inputs to replay during reconciliation. That is due to high latency.
  • Very small overhead on non local clients moving.
  • GC allocations 80 bytes per player. This is due to CharacterController.
  • Way higher GC allocations on the server side (and while recording gameplay for that matter), due to the need of storing history of the objects for lag compensation.
How does it run fast
  • It moves character only when network update occurs and then interpolate until the next network update in LateUpdate.
  • Efficiend data reusing with as least locals as possible (as they cause GC allocations).
Current issues
  • Update Once and Lerp mode does not work well with the update rates over 50hz. Use lower send rate or a higher one with Update Once mode.
TODO
  • Add jumping between updates so jumping would feel good even on small update periods.
  • Complete lag compensation.
  • Fix issues.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].