How Would I Really Go About Making R6 FootPlanting(IK)

Hello There, I am creating an FPS game as of now, and I thought it would have been really cool to make an R6 Foot Placement System but I don’t really see much articles about it, and also they don’t really explain it simple or show any examples on how to do them. So If you do know how to do it could you please explain or give some examples? Thank You!

2 Likes

Its good but the thing is, I don’t want the character to be moving side to side like that

I am kinda looking for a phantom forces type foot planting

1 Like

well you copy paste and put on the start of 214 and end at 233

		do -- Upper Torso
			local bounceCFrame = CFrame.new(0,self.WalkBounce*math.cos((self.WaistCycle+2+1)*0.01),0)

			local sway = math.rad(-relv1.X)+0.00*math.cos(self.WaistCycle+00)
			local swayY = 0.0*math.cos(self.WaistCycle)-0*math.rad(relv1.X)
			local swayX = math.rad(relv1.Z)*0.0*self.SwayX
			local goalCF = bounceCFrame*waist1*ANGLES(swayX,swayY,sway):inverse()
			-- goalCF *= CFrame.new(0,math.cos((self.WaistCycle+90+45)*2),0)-- Up and down
			--goalCF *= CFrame.new(0,self.WalkBounce*math.cos((self.WaistCycle+90+45)*2),0)-- Up and down
			--local rotationOnly = goalCF-goalCF.Position
			waistjoint.C1	=	waistjoint.C1:Lerp(goalCF,dt10)
		end

	else
		--when not moving go back to original position
		local goalCF = waistjoint.C1:Lerp(waist1, dt10)
		--local rotationOnly = goalCF-goalCF.Position
		waistjoint.C1	= goalCF
	end
end

2024-08-19T16:00:00Z

the torso is moving sideways and its ugly

nopenope i will not show this LAUNGUGE.