#Trouble activating event when touching ground
1 messages · Page 1 of 1 (latest)
u can use rays
how
just shoot a ray from the rig downwards and see if the ray comes in contact with anything
google some tutorial on raycasting
alr thanks
"as soon as the rig touches the ground". i mnight lag, but you can scan all parts in workspace till it finds one that its above within a 1 stud radius then does it
so what i did was
casted a way
ray*
from the humanoid root part's position
idk if the ray follows the position of the rig tho...
but basically when the rigs state changes it should check the ray distance
then fire the client
humanoid.statechanged and listen for the Landed state? https://create.roblox.com/docs/reference/engine/classes/Humanoid#StateChanged