mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-22 12:03:04 +00:00
add new layer for vehicle high detail mesh
This commit is contained in:
parent
71d18bbe6d
commit
c5b8d7df6d
3 changed files with 4 additions and 2 deletions
|
@ -112,6 +112,8 @@ namespace SanAndreasUnity.Behaviours.Vehicles
|
||||||
|
|
||||||
public static int LayerMask { get { return 1 << Layer; } }
|
public static int LayerMask { get { return 1 << Layer; } }
|
||||||
|
|
||||||
|
public static int MeshLayer => UnityEngine.LayerMask.NameToLayer("VehicleMesh");
|
||||||
|
|
||||||
private static int _sLightsId = -1;
|
private static int _sLightsId = -1;
|
||||||
|
|
||||||
protected static int LightsId
|
protected static int LightsId
|
||||||
|
|
|
@ -17,7 +17,7 @@ PhysicsManager:
|
||||||
m_ClothInterCollisionDistance: 0
|
m_ClothInterCollisionDistance: 0
|
||||||
m_ClothInterCollisionStiffness: 0
|
m_ClothInterCollisionStiffness: 0
|
||||||
m_ContactsGeneration: 1
|
m_ContactsGeneration: 1
|
||||||
m_LayerCollisionMatrix: ffefffffffefffffffefffffffffffffffefffffffefffffffffffffffffffffffefffffffe7ffffffefffffffedffffc8e0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
m_LayerCollisionMatrix: ffcfffffffcfffffffcfffffffffffffffcfffffffcfffffffffffffffffffffffcfffffffc7ffffffcfffffffcdffffc8c0ffffc8c0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
m_AutoSimulation: 1
|
m_AutoSimulation: 1
|
||||||
m_AutoSyncTransforms: 1
|
m_AutoSyncTransforms: 1
|
||||||
m_ReuseCollisionCallbacks: 0
|
m_ReuseCollisionCallbacks: 0
|
||||||
|
|
|
@ -20,7 +20,7 @@ TagManager:
|
||||||
- World
|
- World
|
||||||
- Player
|
- Player
|
||||||
- PedBone
|
- PedBone
|
||||||
-
|
- VehicleMesh
|
||||||
-
|
-
|
||||||
-
|
-
|
||||||
-
|
-
|
||||||
|
|
Loading…
Reference in a new issue