mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-22 03:53:04 +00:00
...
This commit is contained in:
parent
d0bd858cce
commit
e988839038
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ namespace SanAndreasUnity.Behaviours.Vehicles
|
||||||
{
|
{
|
||||||
_geometryParts.AttachCollisionModel(transform, true);
|
_geometryParts.AttachCollisionModel(transform, true);
|
||||||
|
|
||||||
_rigidBody = gameObject.GetComponent<Rigidbody>();
|
_rigidBody = gameObject.GetComponentOrThrow<Rigidbody>();
|
||||||
|
|
||||||
_rigidBody.interpolation = Net.NetStatus.IsServer ? VehicleManager.Instance.rigidbodyInterpolationOnServer : VehicleManager.Instance.rigidbodyInterpolationOnClient;
|
_rigidBody.interpolation = Net.NetStatus.IsServer ? VehicleManager.Instance.rigidbodyInterpolationOnServer : VehicleManager.Instance.rigidbodyInterpolationOnClient;
|
||||||
_rigidBody.collisionDetectionMode = VehicleManager.Instance.rigidBodyCollisionDetectionMode;
|
_rigidBody.collisionDetectionMode = VehicleManager.Instance.rigidBodyCollisionDetectionMode;
|
||||||
|
|
Loading…
Reference in a new issue