15
2013
RAIN{indie} AI: Simple Waypoints Tutorial (1)
Made a small tutorial pdf while testing RAIN{indie} AI system. (its free and works with unity indie!)
Going to try to implement it on the perlin dungeons later and have to try rest of the features too (like navmesh).
Goal of the tutorial was to get your monster to follow (go towards) given object, which is behind the wall.
And not a single line of code had to be written!
Download Tutorial (PDF):
RAIN AI – basic waypoints movement 1.pdf
Webplayer: (results of the tutorial)
http://unitycoder.com/upload/demos/AIWayPoints1/
Check this powerpoint file also (info about waypoints/AI)
Artificial Intelligence in Game Design (powerpoint)
http://www.csis.ysu.edu/~john/5895AI/podcasts/Maps.ppt
Feel free to send comments here, if you find some errors or a way of doing things easier etc.
Also there are many settings to adjust the AI movement, right now everything is at defaults..
—
Image#2: NavMesh created for dungeon
– That was easy, use Recast object to create navmesh
– Select either Recast option: Use Distance (remember to set it big enough so it scans your whole level)
– Or, Recast option: Use recast object, then assign your floor as recast object and navmesh is created from it
Related Posts
11 Comments + Add Comment
Leave a comment
Recent posts
- MotionVector Effect: Object “disappears” when paused
- [GreaseMonkey] Unity Forum Fixer
- UnityHub: Make Hub application background Translucent
- Customize SpriteShapeRenderer quality (but has issues)
- Editor tool: Copy selected gameobject’s names into clipboard as rows (for Excel)
- Editor tool: Replace string in selected gameobject’s names
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
Recent Comments
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- Vector3 maths for dummies! on
- UnityHub: Make Hub application background Translucent on
- UnityHub: Make Hub application background Translucent on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- [Asset Store] Point Cloud Viewer & Tools on
More RAIN{indie} tutorials from others:
Navigation Grid #1
AI with Custom Actions using Code #1
Hey, I’m looking forward to giving this a read when I get home.
How did you go with getting it to work in a perlin dungeon?
Cheers!
NavMesh generation works fine (currently its created on the editor, see image#2),
as the dungeon test is still in progress, current version webplayer (this one uses still angrybots mobs): http://unitycoder.com/upload/demos/PhotonPerlinDungeonsTest1/
I tried to go a bit beyond the tutorial and use the nav mesh but the “monster” is not moving eventhough i tried to recast the nav mesh with different settings. Does the RAIN need something different in order to operate with the nav mesh ?
thx good job
One problem that I had, was that nav mesh came out too small at first (so the enemy wasnt on top of it..), enable [x] show span mesh (on recast object) to see it.
other than that, could just try it on simple plane first,
New version download & simple tutorial:
http://forum.unity3d.com/threads/167791-RAIN-indie-Free-Powerful-AI-Engine-Released/page12?p=1396254&viewfull=1#post1396254
hi good day sir i am making my 2d racing game in unity but i want my enemy to be move in the track and also i want my player car to be able to hit the enemy car. and its a single player game. can you please help me sir thanks in advance 🙂
you can ask help in this chat,
https://discord.gg/vpF37ew
but check this unity example package, it had some AI control demos
https://www.assetstore.unity3d.com/en/#!/content/32351
sir plz help me..i’m using unity 2017.4.0f1 .In these types of errors are coming using
RAIN.Action;
using RAIN.Core;
using RAIN.Representation;
how i handle these errors.
and which unity version is used RAIN
i think the plugin is already dead (and no longer updated) ? or where did you downloaded it?
try using the new navmesh components,
https://github.com/Unity-Technologies/NavMeshComponents
sir can you tell me plz…
which unity version use RAIN