Don't sync linear and angular velocity

This commit is contained in:
in0finite 2019-05-01 16:40:48 +02:00
parent a9283739eb
commit 3c1e24cb1c
2 changed files with 11 additions and 4 deletions

View file

@ -86,3 +86,6 @@ MonoBehaviour:
m_EditorClassIdentifier:
vehiclePrefab: {fileID: 5841438317718401360, guid: abddce9c98c1ba5a992f109cfd8c5a5c,
type: 3}
syncLinearVelocity: 0
syncAngularVelocity: 0
disableRigidBodyOnClients: 1

View file

@ -10,13 +10,17 @@
- send button input events to server:
- syncvar for current vehicle and seat
- syncvar for current vehicle and seat - required for newly connected players, who will not get rpc - or... provide additional data when changing state syncvar
- When ped enters vehicle, he changes parent. Is this allowed in Mirror ? Possible solution would be to only change parent of ped model. Also, while ped is in vehicle, network transform should not sync.
- When ped enters vehicle, he changes parent. Is this allowed in Mirror ? Possible solution would be to only change parent of ped model.
- disable vehicle's rigid body on clients ; apply linear and angular velocity manually ? ;
- while ped is in vehicle, network transform should not sync
- sync car color
- apply vehicle's linear and angular velocity manually ?
- vehicle is bumping on clients - disable (or destroy) wheel colliders, and sync them
- when exit vehicle anim is finished on client, it is repeated - change wrap mode
- stats window