Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: mike32 on October 22, 2018, 04:22:27 AM
-
HI
I am new to playmaker and just learning all the features.
I am making a walkthrough of an interior space and I need to teleport the player back to the elevator on a button press and face the doer ready to exit.
I have it working to teleport the player to the elevator using get position on the teleport location and get position on the player. However I cant get it working to rotate the player to look at the elevator door as it teleports.
Currently I have tried to set it up as get rotation on the teleport location (cube)
and set rotation on the player but it does not work.
Any help would be really appreciated.
Thanks
-
I think using the Look At Action could help with that. Just set the action to look at whatever you want to while its teleporting.
-
Hi
Thanks for the tip, I tried out the look at action and it does work however it does not stay looking at the door.
it looks at the door but then jumps back to its original rotation, is there a way I can set it to stay at the new rotation?
Thanks for the help
-
hi.
You might want to use vector rotate toward