fetviper_4
(fetviper_4)
August 25, 2024, 1:14am
#1
What do you want to achieve? Keep it simple and clear!
To have the player move where it is facing.
What is the issue? Include screenshots / videos if possible!
The player only moves where the camera is facing
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Yes, but what I have found on the Dev Forum does not help at all. I have tried to edit the player movement module, but to no avail.
I am asking for someone who can help me fix this ‘issue’ so that i can continue working on this game.
BendsSpace
(BendsSpace)
August 25, 2024, 2:22am
#2
I actually just helped someone do this . The gist of what you do is you modify the Humanoid’s MoveDirection right after the player module does using BindToRenderStepped with the correct priority. You can see that solution (with code) here:
Camera affecting Player's movement in a Lock System - #5 by BendsSpace
(Note: you’ll need to add a line to set Humanoid.AutoRotate
to false
in the code. LMK if you need help with that.)
Here’s what that looks like (notice how the character moves relative to the direction they’re facing and not based on the camera orientation).
system
(system)
Closed
September 8, 2024, 2:23am
#3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.