Skip to main content
New Participant
March 10, 2017

Moving Objects With Touch Thumbstick

I am trying to create a means for the player to move objects in the direction the thumbstick is pressed. I have the initial part working without issue. What I am running into is that when the player turn their head, forward is no longer forward, left and right are no longer left and right. How can I make it such that forward is always the way the player's eyes are looking?

I appreciate the help.

Regards.
    This topic has been closed for replies.

    2 replies

    Inspiring
    March 10, 2017
    I believe you just need to apply the player's rotation to your movement vector by multiplying it:
    Player's rotation * movement vector 
    SolipticAuthor
    New Participant
    March 11, 2017
    Thanks Weasel47, that did the trick!