Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: LordHorusNL on November 09, 2017, 01:54:06 PM

Title: Quaternion get Angle/Axis [SOLVED]
Post by: LordHorusNL on November 09, 2017, 01:54:06 PM
I'd like to request a action that gets the angle and axis from a Quaternion using Quaternion.ToAngleAxis

Something like this only with a Quaternion as input and everyframe/updatetype.

"transform.rotation.ToAngleAxis(out angle, out axis);"

My own attempts at this action did not pan out ;D
Title: Re: Quaternion get Angle/Axis
Post by: jeanfabre on November 10, 2017, 01:53:21 AM
Hi,

 there is an action for this already: QuaternionAngleAxis

 is it not working for you?

 Bye,

 Jean
Title: Re: Quaternion get Angle/Axis
Post by: LordHorusNL on November 10, 2017, 07:39:32 AM
*Edit*

Nevermind this request Jean

I've managed to make the action myself and i will update this post with the file after i've cleaned it up a little.

The action will now retrieve the angle and axis from a target quaternion.

Yippie ;D