#how to make it so when you step on sand it sounds like sand

1 messages · Page 1 of 1 (latest)

green field
#

please help.

fallow hinge
#

what do you have so far

green field
#

nothing

#

i have the sand

versed fjord
green field
#

lol

torpid moon
#

Is the sand terrain?

green field
#

no

#

its a part

fallow hinge
#

check if its touched by foot

#

if so play sound on a local script using a remote event

#

that way it plays for the player only

#

maybe add a 0.1s debounce too because the player might touch it a few times per step

torpid moon
# green field its a part

I'd say raycast down from the root part to see what part is beneath you. Depending on what the part is, play a different sound.

tender eagle
#

u can send a raycast down from the body and based on the material the raycast hit u can play the sound