4.3.stable
Hi, i have a problem with my RigidBody2D’s. When i add a LightOccluder they simply stop falling. Here are two videos for comparison: https://imgur.com/a/nAmpmJk
The only difference is the LightOccluder2D and the corresponding OccluderPolygon2D
Detaching the script from the RigidBody didn’t solve the problem. Not much happening in it anyway besides setting the velocity.
I feel like there’s a simple fix im missing.
Ok i fixed the problem by changing the code/way the Bodies get added to the scene.
I had them spawn at the Spawn Point like so spawn_point.add_child(fall_instance)
spawn_point.add_child(fall_instance)
I changed that to add_child(fall_instance)
add_child(fall_instance)
And set the position to the spawn points position manually afterwards fall_instance.global_position = spawn_point.position
fall_instance.global_position = spawn_point.position
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.