I admit I don't really understand what quaternions are and why "gimbal locks" are so bad. However:
0.7
<Property name="ZRotation" value="z:270" />
0.8
<Property name="Rotation" value="w:-0.7071067811865475 x:0 y:0 z:0.7071067811865476" /> (I think)
I suggest an additional format that allows degrees (i.e. <Property name="Rotation" value="x:0 y:0 z:270" /> -- "w" missing).
What do you think?
Suggestion: Quaternion property helper parse degrees too
Moderators: CEGUI MVP, CEGUI Team
Re: Suggestion: Quaternion property helper parse degrees too
I agree, I am willing to review the patch/pull request. And gimbal locks get really bad when you start animating
Re: Suggestion: Quaternion property helper parse degrees too
Excellent! It shouldn't be more that 2-3 lines of code but I will do it properly to become familiar with the process.
Return to “Bug Reports, Suggestions, Feature Requests”
Who is online
Users browsing this forum: No registered users and 14 guests