mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-03-05 07:37:17 +00:00
only on server and local player
This commit is contained in:
parent
884ef2a223
commit
eaa9247897
2 changed files with 4 additions and 1 deletions
|
@ -55,7 +55,8 @@ namespace SanAndreasUnity.Behaviours.Peds.States
|
|||
|
||||
protected override void UpdateHeading ()
|
||||
{
|
||||
m_ped.Heading = m_ped.transform.forward;
|
||||
if (m_isServer || m_ped.IsControlledByLocalPlayer)
|
||||
m_ped.Heading = m_ped.transform.forward;
|
||||
}
|
||||
|
||||
protected override void UpdateRotation ()
|
||||
|
|
|
@ -27,6 +27,8 @@
|
|||
|
||||
- weapon sound should be 3d
|
||||
|
||||
- prevent tick rate override by Mirror
|
||||
|
||||
|
||||
- **vehicle is bumping on clients** - disable (or destroy) wheel colliders, and sync them - this should not be done on local player, see below
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue