I can not make this up. The simple act of installing the Physics package to handle physics in ECS breaks part of the scene for some reason. Let me walk you through what is happening:
- User selects gun
- A gun is instantiated per player on screen on their hand (child GO of player)
- Each gun has a muzzle (child GO of gun) from which the bullet comes out of.
- Before installing package, everything works fine
- After installing package, all guns seem to appear at world center ignoring player movement
- Even though the guns are at world center, the bullets are coming out of the "correct" position, where the muzzle of the gun would be, it even reacts to the player movement
- Uninstalling the package fixes the issue instantly
I have tested this + closing the editor and reponening + making a build and its constant in all cases. Is there a system from the physics package i am not aware of that runs in the background that is causing this?
I can share all necesary code. Thank you!