#any of yall alpha enough to give me a solution
1 messages · Page 1 of 1 (latest)
are u using raycast for this? cause raycast gives u the normal of the hit object so u can align ur object according to the normal.
make it copy the orientation of the wall it hits
or maybe do some math with the orientation of the wall to make it line up
bro, rotate the spill inside Roblox Studio, not in-game
for throw able items is need animations plus scripts
???
huh im not sure how do i use animation plus script here.
yeah i tried but i cant get the exact orentation the cylinder should land in
I honestly forget the exact maths but I know that the normal gives u a vector pointing perpendicular to where the raycast hit I think you can use like cframe.matrix or something to fix it you might have better luck tryna look on the dev forums
CFrame.fromMatrix(result.Position, result.Normal) maybe try that I just looked on the dev forums and saw this code