How to show which axis an object rotates on

Im trying to implement object rotation with showing which axis is chosen right now (like in the video below)

but i dont really understand how do i do it properly. I tried to implement and it works well until you mix angles (like rotating by Z when X is rotated for 90 degrees)

can anyone help plis

1 Like

You’ll want to use CFrame instead of Vector3 in order to use object space (relative) rather than world space (global).