Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Prestonh on December 25, 2018, 02:15:24 AM

Title: Looking for help or advice with facing a direction.
Post by: Prestonh on December 25, 2018, 02:15:24 AM
So i have a split screen, on game pads, third person, so that limits a couple options.  But anywho,  player has a bow and when they go to shoot it, i pop up a aim targeting thing, and play the draw animations, ect. I also force the player to look in the same direction as the camera, so he actually shoots towards the target.  This all works, except there is one thing i dont like,  i was spawning the arrow from an object child to the player, but it seems when i force the look, the character looks in the right direction, but thier transform doesnt, which means my arrow spawn isnt where i want it, so i set my arrow spawn from a child to the camera, which seems to work so far.  But when i release the force look, the player snaps back to the transform direction.  Which to me just looks and feels shoddy.  Any suggestions?
Title: Re: Looking for help or advice with facing a direction.
Post by: djaydino on December 25, 2018, 11:24:01 AM
Hi.
Can you show your setup? (Some images or video from your fsms/states/actions)
Title: Re: Looking for help or advice with facing a direction.
Post by: Prestonh on December 26, 2018, 06:40:48 PM
Sorry for the delay, xmas and all.  Ill send some images tonight, i think i found the problem,  in my movement fsm, i have the get axis vector and such for the animator, but i also have a smooth look at, in that fsm, and when i draw the bow, i run a smooth look at to camera direction,  so im running 2 smooth look at, at the same time, and when i release the bow, it snaps back to the first smooth look at. I think.