Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: bbangerter on November 28, 2017, 10:38:43 PM

Title: "Rotate around" in local space
Post by: bbangerter on November 28, 2017, 10:38:43 PM
I'm trying to figure out how to do a rotate around in local space.

The original post, back 5 years ago, regarding this action states its possible.
http://hutonggames.com/playmakerforum/index.php?topic=1078.0

But I'm not seeing an option for that.

I've got my action set up as follows:
Game Object: Use Owner
Around game Object: Camera-Target (the object my camera always looks at, looked up in a setup step of the FSM)
Rotation point: none
Rotation axis: -1, 0, 0
Use around game object: unchecked (incidentally, checking this always gives me an error - 'useAroundGameObjectAxisSpace' is only effective is 'aroundGameObject' defined - which is odd since my around game object is a defined variable - I suspect this is what I need to work for my local space to work)
Angle: 15
Per second: checked
Every frame: checked
Stop Angle: Target-X-Position (variable calculated earlier for the angle of rotation around the x-axis I want)