Valento92 Posted August 11, 2015 Share Posted August 11, 2015 Hi guys. I'm developing a very small simulator with Three.js and Physi.js. The goal is a simple camera that can move irrestrictly in the space, but must not pass through solid Physi.js objects. I'm also using TrackballControls to handle camera movement. I tried attaching a BoxMesh to the camera but then everything disappeared from the screen. My code so far is: http://pastebin.com/bNhEkPep Don't mind my scene, I'm just really concerned with the camera passing through the objects. Another thing really weird happens when I zoom in infinitely from below the "floor". Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.