Hi guys
I've been struggling a lot with this issue. Like Vector Transform gets XYZ position from a matrix node, I would like to get the same with Rotation (Get rotation X,Y,Z from Matrix) .. What is the most efficient way to do this (if possible without C# node)?
Thanks and best regards
Naggar
Hello Ventuzians!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
Getting Rotation X,Y,Z from Matrix
Moderator: Support
-
- Posts: 172
- Joined: 03 Dec 2014, 15:46
Re: Getting Rotation X,Y,Z from Matrix
Hi, was there a solution/tipp or trick to this? I was just going to ask the same thing.
cheers
cheers
Re: Getting Rotation X,Y,Z from Matrix
So I've given up on this request after I spoke with my programmer colleague.
Not 100% sure if this is the case, but what he explained to me was that the 3D Engine of Ventuz is using Quaternions units (Which use x,y,z,w) and what we want is euler rotations (which use x,y,z) .... and the issue is the conversion between the two. So I'm not sure if it would be possible, but I still hope we get a response about it soon.
In the end my colleague made a C# script for an alternative solution.
Not 100% sure if this is the case, but what he explained to me was that the 3D Engine of Ventuz is using Quaternions units (Which use x,y,z,w) and what we want is euler rotations (which use x,y,z) .... and the issue is the conversion between the two. So I'm not sure if it would be possible, but I still hope we get a response about it soon.
In the end my colleague made a C# script for an alternative solution.
-
- Posts: 172
- Joined: 03 Dec 2014, 15:46
Re: Getting Rotation X,Y,Z from Matrix
hm, there must be a way. I wish, the vector-transform would somehow spit out an angle...
My math is too bad to do it myself.
Anybody?
My math is too bad to do it myself.
Anybody?