IRL2 / SubtleGame

A psychophysics game for interactive molecular dynamics
Other
1 stars 0 forks source link

Recordings from Subtle Game always have an interaction line #217

Open rhoslynroebuck opened 3 months ago

rhoslynroebuck commented 3 months ago

When replaying recordings from the Subtle Game, there is always a user interaction. This is because there is always an interaction sent in the shared state, but the scale is set to 0 when the player is not interacting. This would be cleaner if there was no interaction when the player is not interacting.

jbarnoud commented 3 months ago

The solution is not to send interactions when the user is not interacting rather than sending an interaction with a scale of 0. For existing recordings, you can adapt the read_state.py script to filter out the interactions with a scale of 0.