When I try to rotate object in inspector and its not at n*pi angle it behaves weirdly.
It’s like it rotates around pivot but pivot doesn’t follow the model and rotations don’t care about axes.
I don’t know what’s going on and I’m genuinely confused.
It doesn’t seem like problem is in the sword model because it’s the same with just a cube.
The simplest and quickest way to deal with this is by having a hierarchy of transforms, one for each axis: one for roll, one for pitch, one for yaw… if you roll/pitch/yaw a sword the way you would an airplane.
Notes on clamping rotations and NOT using .eulerAngles because of gimbal lock:
How to instantly see gimbal lock for yourself:
All about Euler angles and rotations, by StarManta: