My Issue is this:
I’m working on a VR pool Game (billard). I’ve managed to control the cue stick pretty well, but now when switching difficulty to easy i need to rotate the cue with the Motion controller thumbstick.
The problem that when implemented it rotates from the pivot and i need it to rotate relatively to the second motion controller’s location( the hand that grabbed second which takes the center of the cue stick as location)
You’ll need to combine several transforms.
- Translate the cue stick to the desired rotation point.
- Apply the desired rotation.
- Apply the same Translation from step 1, but in the opposite direction.
Hope this helps