I want to ask how to let a character move forward forcefully even if the player didn’t press the move button or “W” on the keyboard, the player can still move forward in the direction that the character is facing. How to do this?
Thank you
I want to ask how to let a character move forward forcefully even if the player didn’t press the move button or “W” on the keyboard, the player can still move forward in the direction that the character is facing. How to do this?
Thank you
Create a variable for player’s Humanoid
and player’s HumanoidRootPart
and call :MoveTo(position)
on the player’s Humanoid
, position being a sum of HumanoidRootPart
’s position and the root’s CFrame.LookVector
being multiplied by whatever distance you choose
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.