Skip to main content
Inspiring
August 3, 2022

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.

This topic has been closed for replies.

4 replies

Inspiring
August 8, 2022

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!

New Participant
December 1, 2024

Hi Gavin, are you able share your source code for this?

Inspiring
December 4, 2024

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:

https://learn.unity.com/tutorial/add-a-movement-script?pathwayId=664b6225edbc2a01973f4f19&missionId=664be6b2edbc2a09af6fc654#

Have fun!

Gavin

New Participant
March 26, 2024

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?