mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-10 06:34:16 +00:00
Don't sync linear and angular velocity
This commit is contained in:
parent
a9283739eb
commit
3c1e24cb1c
2 changed files with 11 additions and 4 deletions
|
@ -86,3 +86,6 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
vehiclePrefab: {fileID: 5841438317718401360, guid: abddce9c98c1ba5a992f109cfd8c5a5c,
|
||||
type: 3}
|
||||
syncLinearVelocity: 0
|
||||
syncAngularVelocity: 0
|
||||
disableRigidBodyOnClients: 1
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue