Hello,
I’d like to start off by saying that, yes, I know there are other posts about how to constantly rotate a part, but my problem gets a bit more complicated than the solutions in those posts do.
Basically, I have a part which I want to rotate at a constant rate around a certain axis. That part needs to be connected via welds to another part, I’ll just refer to this part as the base part. The base parts CFrame is always being updated via tweens. This raises some issues, the main issue is that our rotating part’s CFrame cannot be updated, nor can its position, as this would just cause it to be stationary and not stay conjoined to the base part.
So far, I have no solution to solve this issue, the closest I’ve came was using a hinge, but after I changed some core programming in the game, that method is no longer a viable option. The issue with using a hinge was that at the start of script execution, the base part would be moved a significant distance away from its previous point, this would cause the rotating part to stay behind, due to its use of physics rather than absolute math.
I have also tried using a simple infinite loop while increasing the rotation of one axis, but the part would begin to flip back and forth.
What would I need to look into to achieve constant rotation with these constraints?