Hello all, I’ve recently been fiddling around with the idea of custom movement systems and I came up with this to give me a basic idea of what i’m doing: customchartesting.rbxl (13.3 KB)
(main script is located in starterplayer)
I’ve been trying to fix an issue where the player won’t move according to the way the camera is facing, and I haven’t been able to figure it out. I would appreciate someone pointing me in the right direction because I am completely lost right now.
If you want to make them walk around you can just do stuff like this
local xmult = 0
local zmult = 0
--when key is pressed (i.e. w)
xmult = 1
--when key is released (i.e. s)
xmult = 0 --or check if other key like w is still down
--movement function of choice
setmove((cam.rightVector*xmult+cam.lookVector*ymult)*Vector3.new(1,0,1)).Unit)
You can also try checking the default control script.