metalx1000 / metal_bullets

First Person Shooter in HTML5 with ThreeJS and WebGL
GNU Affero General Public License v3.0
14 stars 9 forks source link

No Physics or Collision Detection #1

Closed metalx1000 closed 10 years ago

metalx1000 commented 10 years ago

Currently there are no Physics or Collision Detection. I've known since the beginning of this project that these were going to be the two hardest parts for me. There are projects out there already that handle these things: http://chandlerprall.github.io/Physijs/ http://cannonjs.org/

I just need to learn to use them better, or create my own version of them (most likely I'll end up using them if I can figure it out). Both projects are simple to use and have examples, but I haven't looked into them much and although I know how to create objects and apply these scripts to them, I'm not sure at this time how to apply them to objects I import from Blender. Which is the main goal of this project. To create a level in Blender and easily import it to Metal Bullets.

Currently gravity is not real and just using tweenJS for jumping animation. Which is bad :)

metalx1000 commented 10 years ago

Switched to Babylonjs which made this a bit easier.