Raycast FOV Check using Forbidden (ADVANCED)

preview_player
Показать описание
#robloxstudio #robloxdeveloper #gamedevelopment #npc #robloxscripting #robloxgamedev #gamedevtips #raycasting #lineofsight

How to check if an NPC can view a part in Roblox Studio!
Set up the call in seconds, with one of code using Forbidden.

Please comment with your game's name/link if you use Forbidden and good luck!

TIME STAMPS
0:00 Intro
0:17 Inserting Forbidden
0:30 Call Explanation
1:20 Script
2:17 ClientHideHandler
3:30 FOV Explanation
4:44 Outro
Рекомендации по теме
Комментарии
Автор

bro this seems suuuper powerful, you should do a longer video that explains all the functions of the api

barnacolium
Автор

Here’s some things to update / add to it.

A jumpscare. (Similar to the Mimic.)

When the Monster is coming near you, your screen fov changes.

For the locker, your camera should be positioned in the locker so the player looks through the little holes / lines on the locker.

Safe Spot parts. (Can be made transparent.)

Monster sounds, maybe growling, or talking, and when it kills you it plays a sound while the jumpscare is happening.

I’m making a horror game and this would be really helpful if you implemented some of these things into this AI.

vNoahlol
Автор

the ai system cant climb trusses, i've already tried using path modifiers and added the cost table at config module script to: Climb = 1

NULL_JXX
Автор

Hey man, the Stop method doesnt seem to be stopping.

varyemezxd