Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: acornbringer on July 11, 2022, 10:51:43 AM
-
I've created a little virtual handle that lets the player click and drag a controller around to pivot an object. It uses the Look At action so the cube inside the pivot point tracks the target.
The problem I've encountered is when I try to rotate the parent, the pivot point doesn't rotate with it making the cube always face the same way. Here's a video I made to show the effect:
https://i.imgur.com/Mr0WgTb.mp4 (https://i.imgur.com/Mr0WgTb.mp4)
In the video, I placed an extra cube there for reference. Ideally, the handle would behave the same way - keeping it's rotations while moving along with the parent - but instead, the handle rotates inversely to its parent.
I've tried different ways of parenting and adding Look At actions to various parts of the hierarchy but haven't had any luck. Any suggestions or insights would be greatly appreciated!
Thanks :)