#any of yall alpha enough to give me a solution

1 messages · Page 1 of 1 (latest)

silent jasper
#

so i have potion in my hand i want throw and it will create a spill on the surface. i am having issues to make the spill rotate and on the surface properly how the hell do i even do this

#

any of yall alpha enough to give me a solution

astral parcel
#

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.

waxen aspen
#

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

hot folio
#

for throw able items is need animations plus scripts

silent jasper
silent jasper
astral parcel
#

CFrame.fromMatrix(result.Position, result.Normal) maybe try that I just looked on the dev forums and saw this code

waxen aspen
#

this is CFrame math

#

which i both struggle with and hate

#

but you can probably just use LookAt() with the part it collides with

#

wait no that wont work