Hi, I'm making a car folllowing a path, where I need to set the front wheels rotation to a certain value based on a PathFollow node. As you may think, the car is a child of the PathFollow node, which is set to Orientation mode, so the car's position and Y-axis rotation makes sense as it moves along the path (animating the Path Offset property). So that's only for the car itself, but what about front wheels?
Well, what I'm doing right now is setting another pathFollow node each frame with a little more offset along the path, also Oriented, so I can predict which rotation value the front wheels should face on Y-axis. Simple, right?
That said, now I need an easy way to copy that Y-axis rotation form the "lead" pathfollow, to each front wheel. The problematic part, is that they are not at the same level, so copying local rotations won't work. I need to copy GLOBAL axis rotations instead, and to make things harder, I just want to set the Y-axis, not the X-axis, because X represents the spinning of the wheels, which it's calculated out of the path's current offset.
Any ideas?