add new layer for vehicle high detail mesh

This commit is contained in:
in0finite 2020-06-02 20:44:08 +02:00
parent 71d18bbe6d
commit c5b8d7df6d
3 changed files with 4 additions and 2 deletions

View file

@ -112,6 +112,8 @@ namespace SanAndreasUnity.Behaviours.Vehicles
public static int LayerMask { get { return 1 << Layer; } }
public static int MeshLayer => UnityEngine.LayerMask.NameToLayer("VehicleMesh");
private static int _sLightsId = -1;
protected static int LightsId

View file

@ -17,7 +17,7 @@ PhysicsManager:
m_ClothInterCollisionDistance: 0
m_ClothInterCollisionStiffness: 0
m_ContactsGeneration: 1
m_LayerCollisionMatrix: ffefffffffefffffffefffffffffffffffefffffffefffffffffffffffffffffffefffffffe7ffffffefffffffedffffc8e0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
m_LayerCollisionMatrix: ffcfffffffcfffffffcfffffffffffffffcfffffffcfffffffffffffffffffffffcfffffffc7ffffffcfffffffcdffffc8c0ffffc8c0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
m_AutoSimulation: 1
m_AutoSyncTransforms: 1
m_ReuseCollisionCallbacks: 0

View file

@ -20,7 +20,7 @@ TagManager:
- World
- Player
- PedBone
-
- VehicleMesh
-
-
-