Mirror/alt rigidbody.txt
James Frowen 0c790e339d
adding assert to make sure transport is set (#2164)
* adding assert to make sure transport is set

this helps people who want to connect without using networkmanager

* moving Transport.activeTransport to setup

* replacing Substitute.For for addComponent

Can't used Substitute for monobehaviours as they will still be null with unity equals
2020-08-18 18:57:31 +02:00

6 lines
362 B
Plaintext

I have made an alternative to the NetworkRigidbody <https://github.com/vis2k/Mirror/pull/2123>
It is Experimental so use at your own risk if production builds.
It uses Lerp to move towards the servers position and velocity. This should result is movement looking smoother. There is no extrapolation yet so the position and velocity will be behind the server.