forked from cgvr/DeltaVR
continuous collision for cafe spawned objects
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -204,6 +204,7 @@ public class CafeWaiterNPC : NPCController
|
||||
private void InitializeSpawnedObject(GameObject spawnedObject)
|
||||
{
|
||||
Rigidbody rigidbody = spawnedObject.AddComponent<Rigidbody>();
|
||||
rigidbody.collisionDetectionMode = CollisionDetectionMode.ContinuousDynamic;
|
||||
|
||||
//spawnedObject.AddComponent<NetworkObject>();
|
||||
//spawnedObject.AddComponent<NetworkTransform>();
|
||||
|
||||
Reference in New Issue
Block a user