AI Player Detection and State Graph Transitions
One Wheel Studio
Using a trigger and raycasting to determine if the player object is near and can be see by the AI NPC. State graph transition are also created based on the results of the player detection. All using Bolt visual scripting. Bolt on the Asset Store: https://assetstore.unity.com/packages/tools/visual-scripting/bolt-87491?aid=1100lHSw
Discord: http://discord.onewheelstudio.com Patreon: https://www.patreon.com/onewheelstudio Twitter: https://twitter.com/OneWheelStudio Devlog: https://onewheelstudio.com/ Twitch: https://go.twitch.tv/onewheelstudio
Free assets used for the tutorial.
Terrain: https://app.box.com/s/bnq053yaf0qsw76w2b93muho0itg075i
Character Assets: https://assetstore.unity.com/packages/3d/characters/toony-tiny-ww1-soldiers-demo-115694?aid=1100lHSw
Environment: https://assetstore.unity.com/packages/3d/polygon-city-pack-environment-and-interior-free-101685?aid=1100lHSw
Environment: https://assetstore.unity.com/packages/3d/vegetation/poly-style-vegetation-pack-104112?aid=1100lHSw
Rocks: https://assetstore.unity.com/packages/3d/props/exterior/low-poly-styled-rocks-43486?aid=1100lHSw
SFX: https://assetstore.unity.com/packages/audio/sound-fx/action-sfx-vocal-kit-62378?aid=1100lHSw
Icons: https://assetstore.unity.com/packages/2d/gui/icons/simple-vector-icons-101218?aid=1100lHSw
Font: https://www.dafont.com/cleanwork.font
#boltvisualscripting #gamedevelopment #madewithunity #UnityTutorial #bolttutorial #unitytutorial ... https://www.youtube.com/watch?v=y38wz3DNH90
29416256 Bytes