Simple third person controller with Three.js, OimoPhysics and JavaScript

Published May 11, 2024
Advertisement

Demo on Glitch

GitHub repository

The camera follows the ship. The camera can be rotated around an object by holding down the left mouse button. The camera can be zoomed in and out using the mouse wheel. There is a cube on the stage that the ship cannot pass through, because there is a static collider around the cube, and a dynamic collider in the shape of a sphere around the ship.

0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement