Forum Discussion
gavin_prior
3 years agoExpert Protege
3rd person character control in VR
So.. I have movement in VR via the OVRPlayerController. What I would like to do next is to "follow" a character in 3rd person. I can find lots of "how to's" in regard to 3rd person character animation and following etc using Cinemachine in Unity. What I can't find is the equivelant for doing the same thing for the Oculus - or do i just use Cinemachine??
Any links to suitable videos or instructions would be gratefully recieved.
4 Replies
Replies have been turned off for this discussion
- gavin_priorExpert Protege
OK. 'sort of' got this to work. Though not entirely sure it's the correct way, but it's a step forward.
* I have a character animation which was supplied with basic movement (from the Unity Asset store)
* I deleted the character movement script as I am using OVRPlayerController which has been placed as a child of the character animation (so I can use the paddles for movement)
* Created a CinemachineVirtualCamera to follow and look at the character animation
* Deleted the CinemachineBrain as this was confusing everything completely(!)
Did the above and it follows the character around nicely. Again, this isn't a complete solution as I can't control (or haven't figured out how to yet!) things like jumping; idle anims; etc!
- driver4567Honored Guest
Hi Gavin, are you able share your source code for this?
- gavin_priorExpert Protege
Hi. Sorry. It was a project from a few years ago that has gotten lost between computers - and to be honest was a bit of a rubbish effort that I fudged together at the time.
I found the below via Unity that should be of help to you:
Have fun!
Gavin
- bluelineg.2023Honored Guest
Hi, Im running into issues with 3rd person controller too. Im trying to make it some I can move objects on a board with my controllers, but I cant get the right controller to work at all?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 11 months ago