How to setup PS5 Controller to move character with animation, and VR camera

Hello!

I would like to do exactly this:

https://youtu.be/Cun8K7ctKp0?si=TgWvtdw-VdlBVL0R

I can't seem to find any documentation on getting a PS5 controller hooked up properly in Reality Composer Pro and Xcode, driving a character with animation (or, moving an object around freely) then over to the Vision Pro.

Additionally, I would also like to learn how to use a controller to move a VR camera around a scene, so that we can navigate in custom built spaces - similar to Meta virtual environments, or Steam VR home environments.

Typically, I would do this with Unreal Engine, but unfortunately, AVP support is still in its infancy there. So I figured, why not try to do it natively?

Any help with concrete tutorials or documentation would be greatly appreciated.

Thx!

Answered by Vision Pro Engineer in 807975022

Hello @SteveTalkowski

The answer to this post should point you in the right direction.

Disclaimer: I've only written code for the PS Dual Shock 4 controller, but this leads me to believe the same code will work for the PS5 controller.

Let me know how it goes!

Accepted Answer

Hello @SteveTalkowski

The answer to this post should point you in the right direction.

Disclaimer: I've only written code for the PS Dual Shock 4 controller, but this leads me to believe the same code will work for the PS5 controller.

Let me know how it goes!