forked from cgvr/DeltaVR
ShapeScanner multiple configurations, configurable in editor
This commit is contained in:
@@ -76,6 +76,8 @@ public class ShapeDetectionMinigameController : MonoBehaviour
|
||||
//spawnedObject.AddComponent<NetworkObject>();
|
||||
//spawnedObject.AddComponent<NetworkTransform>();
|
||||
|
||||
MeshCollider spawnedObjectCollider = spawnedObject.GetComponent<MeshCollider>();
|
||||
spawnedObjectCollider.convex = false;
|
||||
spawnedObject.transform.parent = spawnedObjectParent.transform;
|
||||
spawnedObject.transform.position = spawnedObjectParent.transform.position;
|
||||
spawnedObject.tag = shapeScannerTag;
|
||||
|
||||
Reference in New Issue
Block a user