forked from cgvr/DeltaVR
continuous collision for cafe spawned objects
This commit is contained in:
@@ -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**
|
||||
|
||||
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