Im a little confused at the moment. If I get my Shape from my fixture in Box2d it returns me the points (with ->getVertices) related to the position of the body and angle. But shouldnt be there somewhere the stored data for the actual points of th...
I am working on this browser-based experiment where i am given N specific circles (let's say they have a unique picture in them) and need to position them together, leaving as little space between them as possible. It doesn't have to be arran...
Can anybody please guide me with the best engine for game development in HTML5?  It is simple jumping and surface detection game. The theme is like jumping and go above the tree tops.  What you suggest in this case?  I am targeting Android and iOS d...
I know HTML5 canvas fairly well, I know the basics and animation using loops etc.  Demo I'm working with: (click to make shapes) http://henry.brown.name/experiments/box2d/example-canvas.html  What I'm not very familiar with is Box2D. I'm...
I use box2dweb for my game. I located four boxes around a circle and gave the circle a initial velocity. I expected that the circle would bounces off the wall but the circle moves parallel with the wall after a collision. It happens only when a circl...
I've been looking through various tutorials on rayCasting with Box2D, but I haven't seen any clear examples. I was hoping someone familiar with box2dweb would be able to give a clear example of how one would go about setting up a simple funct...
There are a few different ports of Box2D for JavaScript. Which one is the best?   Box2DJS - "converted from Box2DFlashAS3_1.4.3.1 in an automatic manner"  Box2Dflash 2.0 ported to JavaScript - "one big nasty hack that just happens to wor...
I'm trying to move a KinematicBody by a specific distance by calculating the corresponding velocity needed to move it all the way across in one frame. Below is a piece of pseudocode describing what I'm doing:  var v = 0; function update(){...
This is the problem:  http://youtu.be/vxtUDy3I09c  The video speaks for itself.  I don't know what else to call it other than jitter. The static bodies aren't holding up to the dynamic bodies. They "dip" into the static bodies just a...
I'm trying to make a game in which I need physics and I want to run the logic on the server, but I'm having this problem importing the box2d library into my server, written in NodeJs.  Actually I have the library in a file named "box2d.js...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.