-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Summary
When setting base-speed to a float value less than 1 (like in case of the "child" agents), the model behaves as if the speed is 0 — agents do not move. However, when base-speed is set to 1.0 or higher, agents start moving as expected. This suggests that base-speed is effectively rounded down or treated as an integer internally, even though it accepts float input.
Steps to Reproduce
- Set
base-speedto0.001, and0.9999 - Observe agent movement — no movement occurs
- Set
base-speedto1.0 - Agents begin to move
Expected Behavior
Agents should move slowly when base-speed is set to a small positive float. There should be a noticeable difference between 0.001 and 0.9999, and both should result in slow but non-zero movement.
Actual Behavior
Any base-speed value below 1.0 results in no movement, making float values between 0 and 1 behave identically to 0.
Environment
- NetLogo version: 6.4.0
- Platform: Windows 11
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels