Hey man this is great. Do you mind explaining a couple of steps? How did you do the collision detection for complex objects in this. And what is the basis of your two player network code? Thanks for uploading these!
@akihirooyamada7 жыл бұрын
Hello, thanks for watching my video. to make that, I have made a JS libraly, called meshwalk.js. github.com/yomotsu/meshwalk.js To detect collision, it check each close triangle(polygons) vs the character sphere. sphere is actually easy to calculated because of one single center coordinate and equally length radius. I also make a web scoket server with Socket.io for multiplayer networking
@freshofftheufo7 жыл бұрын
Akihiro Oyamada Spherical collisions won't work for me but I've started integrating socket.io into my engine so I'll keep up with that. Thanks! And keep it up with the cool JavaScript demos :)