Skip to content

Commit

Permalink
Example: Adjust wrapped spatial boids interaction radius
Browse files Browse the repository at this point in the history
  • Loading branch information
ptheywood committed Nov 22, 2024
1 parent fb2942a commit 9ec4edf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def inputdata(message_in: pyflamegpu.MessageSpatial3D, message_out: pyflamegpu.M
env.newPropertyFloat("MIN_INITIAL_SPEED", 0.1)

# Interaction radius
env.newPropertyFloat("INTERACTION_RADIUS", 0.05)
env.newPropertyFloat("INTERACTION_RADIUS", 0.04) # 0.04 is a workaround for wrapped spatial messaging bug
env.newPropertyFloat("SEPARATION_RADIUS", 0.01)

# Global Scalers
Expand Down

0 comments on commit 9ec4edf

Please sign in to comment.