Question by
AnimatingFelix · Oct 06, 2019 at 11:54 PM ·
vrclippingwall collision
VR first person Collision Headset Wall Clipping,How to avoid wall clipping using HTC vive, and Arm Swinger as locomotion?
Hey!
So I've been working on a VR project using Arm Swinger as my main source of locomotion (you swing your arms, and you move).
The problem is that I can walk through walls and objects. That, of course, can be corrected by attaching a OnColliderEnter script (Transform it to go to the same vector 3) to a capsule, and attaching it to the Player.
However, in order for that to work, the capsule needed to have a Rigidbody and have gravity (remember that it's attached to the Player).
So at times, when I interact with a throwable cube for instance, it would glitch the camera and project me upwards in inhuman speed. Could you guys find any solution to this or have ever experienced this before?
Thanks!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612213101im_/https://answers.unity.com/themes/thub/images/avi.jpg)