|
Post by tsuyoiraion on Dec 15, 2018 6:10:43 GMT
Hey guys,
I'm thinking of what could be done with this asset and am wondering how the waypoint system works? My issue with waypoints and AI systems in the past is that the AI does not detect the wall separating the waypoints.
So for instance i have two separate rooms and both have their own set of waypoints, if the player so happens to be within the enemy's vacinity and the enemy chases the player into that room but loses sight of them, the enemy returns to patrol and starts following the waypoints in the second room.
The issue is that generally the AI detects the waypoint in the next room (being that it's in the first room) and tries to move to it, thus creating an endless search/move to loop.
The question is, does this system have something to detect that or an ability to set it up to detect that?
As well as custom actions if lets say a door is in the way, i want the AI to knock the door down, is that possible?
Thanks!
|
|
|
Post by witcher on Dec 17, 2018 14:56:57 GMT
I think You can use nav offmesh links to make AI knock the door.
|
|
|
Post by tsuyoiraion on Dec 17, 2018 16:00:51 GMT
I think You can use nav offmesh links to make AI knock the door. Thanks for the response, was waiting for Invector to respond to this but it's been a while and nothing :3 I'll play with this today and report back.
|
|
|
Post by tsuyoiraion on Dec 18, 2018 23:57:35 GMT
Alright so after some tests I have concluded that the system does not have something to detect waypoints in a different room or not to go to a waypoint in another room if a wall separates the two waypoints.
So in short I guess i'll need to make a custom system that will replace the waypoint value for each room when the enemy enters a trigger point between/near the rooms.
So far it kind of works, i can switch the waypoint on trigger enter and the enemy will update it's movement pattern. However it does continue to try and reach the last known location even after the waypoint is replaced in the enemys script, so how to clear that would be great to know.
Then it should just reset where it's going right?
|
|
|
Post by Invector on Jan 17, 2019 14:20:33 GMT
Video is unavailable :/
|
|
|
Post by tsuyoiraion on Jun 1, 2020 16:55:49 GMT
Really old post :P removed those videos a while ago, deleted previous comment with videos.
|
|