question

Cor van 't Woudt avatar image
0 Likes"
Cor van 't Woudt asked Steven Hamoen answered

how to model social distancing?

I want to model a simulation where people are walking in a simulation with A* navigation where the persons are trying to keep distance to other persons (1,5 meter) but don't have to keep distance to barriers, equipment etc. Maybe I want too much, are there any clues how to solve this problem?

Choose One
modelling social distancing
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

David Seo avatar image
1 Like"
David Seo answered Cor van 't Woudt commented

@Cor VTW

Could use and set the A* grid Node Spacing to 1.5 meter? The default distance is 1.00 meter. The diagonal path can be also changed to three type as Deep Diagonal, Diagonal or right angles only when traveling.


· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Steven Hamoen avatar image
0 Likes"
Steven Hamoen answered

@Cor VTW You might also give it a try with the (somewhat old fashion and slow) collision detection. If you use the taskexecuters they have a collision tab page. Here you can give them a collision sphere and an event goes off when these sphere hit each other. So will only get events if spheres hit eachother, so no problem with barriers etc. It will require some programming and good thinking but it might be able to do it that way.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.