• Move player relative to their surroundings.
    2 replies, posted
I'm trying to move a player forward using SetupMove, but I cannot use mv:SetForwardSpeed as that requires the player to be grounded, therefore I use mv:SetVelocity. The problem I'm facing is you cannot simple say Vector(forward, side, up) as 3D space does not work like that. Can anyone help me with calculating a way of moving the player forward relative to their current angle in world space.
Say you have an angle called ang for the player Your vector will be ang:Right() * rightMovement + ang:Forward() * fwMovement + ang:Up() * up movement
So like this? The code isn't quite working like I want it. https://cdn.discordapp.com/attachments/350659114373742592/449163090425282565/Pk2Ep.png
Sorry, you need to Log In to post a reply to this thread.