mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
oh well
This commit is contained in:
parent
725dcc1996
commit
cee425db24
@ -416,7 +416,7 @@ namespace NewHorizons.Builder.Props
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// BUG: detector collider is not included in groups
|
// BUG: detector collider is not included in groups. oh well
|
||||||
private class AddPhysics : MonoBehaviour
|
private class AddPhysics : MonoBehaviour
|
||||||
{
|
{
|
||||||
public Sector Sector;
|
public Sector Sector;
|
||||||
@ -433,7 +433,7 @@ namespace NewHorizons.Builder.Props
|
|||||||
var parentBody = GetComponentInParent<OWRigidbody>();
|
var parentBody = GetComponentInParent<OWRigidbody>();
|
||||||
|
|
||||||
// hack: make all mesh colliders convex
|
// hack: make all mesh colliders convex
|
||||||
// triggers are already convex but whatever
|
// triggers are already convex
|
||||||
// prints errors for non readable meshes but whatever
|
// prints errors for non readable meshes but whatever
|
||||||
foreach (var meshCollider in GetComponentsInChildren<MeshCollider>(true))
|
foreach (var meshCollider in GetComponentsInChildren<MeshCollider>(true))
|
||||||
meshCollider.convex = true;
|
meshCollider.convex = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user