Update the logic for the rendering of the player's interactions with the simulation.
The logic for the interaction rendering has been moved from the UserInteractionManager (formerly PinchGrab) script to separate scripts, with the following key changes:
The line renderer: goes from the players hand/controller to the atom being interacted with. These are now created based on the interactions in the shared state, rather than only the local interactions. This means that interactions from recordings are visible (I checked this).
The atom marker: sphere surrounding the closest atom to each of the player's hands/controllers. Previously, these appeared when the player started pinching/pressing the trigger, but now they are always visible.
These commits also include general code tidy up and refactoring.
Update the logic for the rendering of the player's interactions with the simulation.
The logic for the interaction rendering has been moved from the UserInteractionManager (formerly PinchGrab) script to separate scripts, with the following key changes:
These commits also include general code tidy up and refactoring.