#NumBodies is 0 and raycasts are not hitting

1 messages · Page 1 of 1 (latest)

solid trail
#

Hi, I'm trying to fire a raycast and get the hit position. My raycast is returning false, and when I check the physicsWorld.NumBodies it is 0 even though theres physics shapes&bodies in my subscene.

Also, what is the difference between collisionworld & physicsworld?

#

I just noticed the physics aren't even working in the scene... What am I missing?

solid trail
#

Just to document here for others, this was caused by netcode for entities, I hadn't made the physics objects into ghosts.