does anyone have a solution on how i could make it so when the platform moves my character doesnt slide around on it?
the platform itself moves around serverside, but of course is controlled clientside
i have already set the platforms friction all the way to the max
i have tried applying a velocity equal to the player equal that of the platform
the movement is done using alignposition and alignorientation
i want the player to be able to move whilst the platform itself is moving
https://gyazo.com/bc6c79ba897281fa76302b2d291cdf7b.mp4
this is the code for moving the platform
local Drone = workspace.Ignore:FindFirstChild("Drone_"..Plr.Name)
local Follow : Part = Drone:FindFirstChild("FollowPart")
if Follow and table.find(MovementMapping,Info.Input) then
Follow.CFrame = Follow.CFrame * CFrame.new(ControlMapping[Info.Input] * 6)
end
if Follow and not table.find(MovementMapping,Info.Input) then
Follow.CFrame = Follow.CFrame * CFrame.Angles(0,math.rad(-ControlMapping[Info.Input].Y * 10),0)
end
the controlmapping are just a bunch of vector3 corresponding to the held key
movementmapping is just for differentiating some buttons from others without having to add a lot of if statements
if you want to reach me please @ me
** You are now Level 8! **