i couldn’t find any tutorials on it so i’ll ask here
i get how the sizing works but how do they position it when you dash?
my guess is they just create part for both feet then position it lower than where the foot is
just wanted to see how else i could do it
Hzodx
(Hzodx)
November 16, 2024, 12:47pm
#2
my guess is; do 1 raycast to get the part, apply the position with the same Y axis, then for the X and Z grab the player’s root position and add some random offset, same thing for rotation - just mul by
CFrame.Angles(math.rad(math.random(1, 360)), math.rad(math.random(1, 360)), math.rad(math.random(1, 360)))
(could also make a function to get the random radian)
also; apply the material and color to the debris from the part you hit with the raycast
for the raycast what would the origin and direction be? the hrp?
Hzodx
(Hzodx)
November 16, 2024, 12:58pm
#4
Yeah; and for the direction just do Vector3.new(0, -10, 0)
would this work if the player dashes left or right though?
ohh nvm this is so its in the ground lol