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

@@ -30,7 +30,6 @@
* cafe:
* võiks saada hinnata saadud tellimust
* "order again" nupp
* continuos collision spawnitud orderitele
Can't/Won't Do:
* glTF loading: vahetada ära shader Universal render pipeline Lit, mitte panna buildi kaasa glTf oma - **ei saa, objekt on siis ilma tekstuurita, lihtsalt hall**

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