#Static object subscene not detected

1 messages · Page 1 of 1 (latest)

crisp smelt
#

Hello,

I'm trying to use ECS DOTS to do multiplayer game. I try to keep my project simple as I can.

Here I'm strugguling :
I create a static object cube in a subscene

When I start the game I cannot see this gameobject in "Physics Debugger Tabs"

var physicsWorld2 = SystemAPI.GetSingleton<PhysicsWorldSingleton>().CollisionWorld;
Debug.Log($"[World: {state.World.Name}] Active body physics : {physicsWorld2.NumBodies}");

This show me 0 on Update Method.

wispy cedar
#

You need physics authorings

#

Add Physics body and set static

#

Or just add rigidbody and set it kinematic idk

#

Also try use static bodies

crisp smelt
# wispy cedar

Still not working ... I dont know why. I tried many things. Also I create new fps template and I saw they are using Static Object outside Subscene

#

add rigidbody and set it kinematic => Something appear in 'Physics Debugger'
add Physics Body (static) + Physics Shape => Nothing Appear