Hi All,
I am new to box2d, I like it very much, it is a great engine, bla bla bla.
Currently I am working on a game project and at some point it was decided to reimplement all our movement logic using box2d.
I was trying to find few answers in ur internets, but unfortunatly there is not much detailed information, and official manual isn't that good 🙁
So if somebody can answer me those or give a clue I would be very gratefull.
First question: I am trying to make an object to follow mouse with linear velocity. As I understand right it can be done with mousejoint, but I couldn't find enough examples to do it.
Second: I wish to implement jump/teleport feature for the game. So for jumping in a top view game using box2d there is no many choises. I can't just make object ignore collisions for some range as it can land in some textures. So what I have in mind for now is calculate possible landing zone using our old collisions method outside of box2d and then set coordinates in box2d world. But this is kinda dirty solution and I would like to avoid it.
Ok, so thank u in advance for your help.
I am new to box2d, I like it very much, it is a great engine, bla bla bla.
Currently I am working on a game project and at some point it was decided to reimplement all our movement logic using box2d.
I was trying to find few answers in ur internets, but unfortunatly there is not much detailed information, and official manual isn't that good 🙁
So if somebody can answer me those or give a clue I would be very gratefull.
First question: I am trying to make an object to follow mouse with linear velocity. As I understand right it can be done with mousejoint, but I couldn't find enough examples to do it.
Second: I wish to implement jump/teleport feature for the game. So for jumping in a top view game using box2d there is no many choises. I can't just make object ignore collisions for some range as it can land in some textures. So what I have in mind for now is calculate possible landing zone using our old collisions method outside of box2d and then set coordinates in box2d world. But this is kinda dirty solution and I would like to avoid it.
Ok, so thank u in advance for your help.