Closed zaqxsw-dev closed 4 months ago
I understood why on rotation cause issue. Quat change x,y,z angles to valid euler angles and this makes the object twitch. I will try implement implement rotations like a blender.
Remember that Yoleck is a level editor (or rather - a tool for creating ones) and not a scene editor. The individual game will know better which axes to prioritize. It'll probably even want it the other way around - the Y axis as the the main (first? last?) rotation axis with X and Z having a more limited range (if at all) because you want to be able to make the entity face the other way but you don't want to be able to place it upside-down.
Also, the exclusive systems feature may be of use here. What if instead of these three rotation sliders, there would be buttons for rotation around various axes, and once you click one of them it'd only rotate around that specific axis (until you press a key)?
@idanarye please review
Able visual edit scale when entity created with Vpeol3dScale and rotation edit with Vpeol3dRotation