Rotating parts of a sword

For my sword, I am trying to make the gears turn, but when I do, the entire sword rotates too since it’s welded. I have to keep it welded since I am going to use it as a sword. Is there a way just to rotate the gears and not the entire sword, like rotating the mesh?
Here is the sword:
image

Nevermind I found out about motor6D

2 Likes

also tweens and weld constrainst might come in handy here