catchyid Posted August 21, 2016 Share Posted August 21, 2016 Hi, In crowd simulation, I use a tool shelf "Terrain" to create a terrain for agents. The agents don't penetrate the terrain which is good, however they eventually leave the terrain, i.e. go outside it (see attached)! I used obstacles to fix that, but is there any other way to do that? Quote Link to comment Share on other sites More sharing options...
samwelkertv Posted August 25, 2016 Share Posted August 25, 2016 I'm not sure of the best way to approach this but I bet you could try this: Create a boundary by extruding geometry. Turn that into an Obstacle using the shelf tools. Make sure the normals face the right direction so the box doesn't cause glitches with the characters inside of it. Maybe give that a try? Quote Link to comment Share on other sites More sharing options...
catchyid Posted August 25, 2016 Author Share Posted August 25, 2016 Thanks Sam will try it and let you know...Just to update you, the need for this "behavior", i.e. not leaving terrain, has diminished or at least not as necessary as before Well, when I added more behaviors such as "seek", "follow path", "avoid", I was able to control agents more and they did not really have a chance to leave the terrain! But anyways, I am still in the testing phase, so I might need to implement your idea Anyways, I will update you once I test it .... Thanks alot Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.