1
0
forked from cgvr/DeltaVR

continuous collision for cafe spawned objects

This commit is contained in:
2026-03-12 16:32:47 +02:00
parent 07e42ea60b
commit fca8453a26
4 changed files with 5 additions and 5 deletions

View File

@@ -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>();