Skip to content

Conversation

@PierreFonda3D
Copy link
Contributor

Add rotation and scaling for objects

This PR aims to add functionalities related to:

  • Add rotation and scaling when pressing both trigger

Important Added Files

Scripts/VRTools/SofaTwoHandedGrabMoveProvider.cs

Most important, the script that allows to grab using both trigger,scale and rotate. The script base was taken from XRI : TwoHandedGrabMoveProvider.cs

*.mat

  • some usefull materials

Important Modified Files

Scripts/GameMode/GameController.cs

  • Added functionality to switch between modes for objects (Scale and rotation) using an animation implemented as a coroutine.

Scenes/SurgiViz4D.unity

  • The scene were the implementation was tested and implemented

Notes

@epernod epernod changed the title Add rotation and scaling for objects [src] Add objects rotation and scaling interaction using VR controllers Jan 21, 2025
@epernod epernod merged commit 6a11695 into main Jan 21, 2025
@epernod epernod deleted the merge012025 branch April 28, 2025 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants