I have a gltf file that has a robot and I have to animate the robot arm but I am unable to get the pivot point to rotate an arm.
I am trying to follow the below steps:
- Move the object to the pivot point1.1. SUBTRACT the the pivot point from your object’s original position
- Apply your rotation
- Move the object BACK by the same position vector1.1. ADD the the pivot point to your object’s new position