Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

People are not correctly assigned to a group #72

Open
kurshakuz opened this issue Apr 19, 2021 · 1 comment
Open

People are not correctly assigned to a group #72

kurshakuz opened this issue Apr 19, 2021 · 1 comment

Comments

@kurshakuz
Copy link

Hello everyone! For some reason, whenever I create a group in a following manner:

  <waypoint id="waypoint_id_1" r="0.3" x="2.29508399963" y="5.5906701088"/>
  <waypoint id="waypoint_id_2" r="0.3" x="-2.9281039238" y="5.60592746735"/>
  <waypoint id="waypoint_id_3" r="0.3" x="-2.78732061386" y="-1.07651662827"/>
  <waypoint id="waypoint_id_4" r="0.3" x="2.2527050972" y="-1.39512872696"/>

  <agent dx="0.5" dy="0.5" n="3" x="2.3" y="5.6" type="1">
    <addwaypoint id="waypoint_id_1"/>
    <addwaypoint id="waypoint_id_2"/>
    <addwaypoint id="waypoint_id_3"/>
    <addwaypoint id="waypoint_id_4"/>
  </agent>

people that are spawned in this location are assigned randomly to a group each time. It can be either no group, group of 2 (1 is by himself), and a group of 3. The same behavior is for different number of people ("n"), it also vary from 2 to n, and same for different "type" number. Did anyone else encounter this problem?

@kurshakuz kurshakuz changed the title Groups assigned randomly People are not correctly assigned to a group Apr 19, 2021
@NamTruongTran0
Copy link

NamTruongTran0 commented Sep 13, 2023

Hey kurshakuz,

did you solved it?

Thank you so much in advance :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants