Quantcast
Channel: AR/VR (XR) Discussion
Viewing all articles
Browse latest Browse all 12131

Vive Controllers Rigidbody::MovePosition

$
0
0
Hi all,

I'm creating a cricket type game using the HTC Vive and I'm having issues with the ball sometimes going through the bat.

I've searched for quite a while and have discovered that it seems to be because the Vive controller's position is set using the transform, rather than using the Rigidbody::MovePosition functionality resulting in a 'teleporting' effect and the correct collision not occurring. Note: I have the cricket bat as a child of the controller.

I found...

Vive Controllers Rigidbody::MovePosition

Viewing all articles
Browse latest Browse all 12131


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>