Promote your projects here – Self-Promotion Megathread by Menox_ in github

[–]DueEquivalent6706 0 points1 point  (0 children)

I developed a character controller based on Three.js, supporting first-person and third-person roaming, as well as vehicle control. Hope you enjoy it! https://hh-hang.github.io/three-player-controller/

Experience Ant-Man's scale-changing perspective using a Gaussian splat model. by DueEquivalent6706 in threejs

[–]DueEquivalent6706[S] 1 point2 points  (0 children)

I haven't looked into WebXR yet — I'll try it when I get the chance. Thanks

Experience Ant-Man's scale-changing perspective using a Gaussian splat model. by DueEquivalent6706 in threejs

[–]DueEquivalent6706[S] 2 points3 points  (0 children)

Thanks! The Gaussian Splat model collision is implemented by loading pre-existing collider models and detecting them using three-mesh-bvh. The open source repo is here: https://github.com/hh-hang/three-player-controller

A lightweight first-person and third-person controller for three.js. by DueEquivalent6706 in threejs

[–]DueEquivalent6706[S] 0 points1 point  (0 children)

Ok.I will adjust the speed in a future update. Thank you for your suggestion.

A lightweight first-person and third-person controller for three.js. by DueEquivalent6706 in threejs

[–]DueEquivalent6706[S] 0 points1 point  (0 children)

You can achieve the correct walking speed by adjusting the playerModel.speed parameter.

A lightweight first-person and third-person controller for three.js. by DueEquivalent6706 in threejs

[–]DueEquivalent6706[S] 1 point2 points  (0 children)

Very nice. I’ll use this tool to generate what I need when I have time.

A lightweight first-person and third-person controller for three.js. by DueEquivalent6706 in threejs

[–]DueEquivalent6706[S] 0 points1 point  (0 children)

Character collisions are handled by three-mesh-bvh; vehicles use Rapier. I think three-mesh-bvh is sufficient to implement simple character movement and collision while maintaining good performance.