Some of these parts will be added to the ignore list whereas some will not. Local partpositionnormal gameworkspacefindpartonrayraycastplayercharacter falsetrue local dist top frompmagnitude if not dist then dist 300 end.
Bloodfest A Free Game By Doneyes Roblox Updated 1019
Selfrobloxgamedev submitted 5 months ago by impatientmonk.
roblox raycasting terrain, The most common use of raycasting is to determine the first object intersected by a ray. With raycasting you can currently add a blacklist instances to be ignored but you cant whitelist items. Local partpositionnormal gameworkspacefindpartonrayraycastplayercharacter falsetrue local dist top frompmagnitude if not dist then dist 300 end. Findpartonray returns two things. First the part it hits and second the position it hits.