https://playground.babylonjs.com/#Y7NDJ5#19
I am trying to simplify something I am working on that deals with how transform nodes calculate their rotation once they have a parent.
So I booted up one of my scene and modified to kinda demonstrate in a fun way what I need to accomplish.
What would be a smart way to limit the rotation of the “barrels” to prevent them from over rotating into the ship when they have a target set.
You can spin the ship with the qweasd keys and hold the spacebar for rotational breaking.