Skip to content

Does it support Line Obstacle? #7

Answered by Nebukam
sunsvip asked this question in Q&A
Discussion options

You must be logged in to vote

Ok so it's fixed. I pushed an update to the repo and bumped the version, so please update the package to 1.1.7 from the package manager and let me know how it works for you :)
(Also just in case, make sure you have Burst compile enabled in that wasn't the case before)

The problem:

when obstacles segments are too far apart, the agent is "blind" to these segments, leading to inconsistent behavior depending on that agent' position toward the obstacle and its vertices.

The fix:

Admittedly not the most elegant fix, but it works 100% of the time:
Subdivide obstacles edges to smaller segments.
I added methods & parameters to that effect so you can keep obstacle admin simple (i.e, a square is sti…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@sunsvip
Comment options

@sunsvip
Comment options

@Nebukam
Comment options

@Nebukam
Comment options

Answer selected by sunsvip
@sunsvip
Comment options

@Nebukam
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants