yomotsu Posted January 25, 2014 Share Posted January 25, 2014 Hi, there, I'm looking for a 3D physics library in JavaScript, which has kinda Kinematic Character Controller and Height Map(aka Height Field), like this video. I expect, player will: - not slip down on gentle slopes- slip down on steep slopes- not jump after though uphills- not slow down during ascending slopes- hit walls Dose anyone know it? Thanks, Quote Link to comment Share on other sites More sharing options...
willeastcott Posted February 4, 2014 Share Posted February 4, 2014 Hi there. PlayCanvas can do that easily - it uses a custom build of ammo.js internally. For example, check this out: http://apps.playcanvas.com/playcanvas/physics/charactercontroller And the project is here: https://playcanvas.com/playcanvas/physics (you'll need to log in to play with it) That has a simple dynamic character controller in it. You can also select the dynamic bodies and throw them around. It probably took about an hour to build that scene in PlayCanvas. Feel free to fork the project and turn it into something else. Or use the script code as a starting point. Have fun and hope that helps! 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.