Box2d help

BlitzMax Forums/BlitzMax Programming/Box2d help

Duckstab[o](Posted 2011) [#1]
Hi im trying to use drawimagerect to place sprites over box2d objects
has anybody managed to do this any pointers welcome :)


Duckstab[o](Posted 2011) [#2]
[Solved]

thanks to

Function rotate_vector:b2Vec2(oldv:b2Vec2, deg:Double)
	Local tmp:b2Vec2 = New b2Vec2.Create((Cos(deg) * oldv.X()) - (Sin(deg) * oldv.Y()), (Sin(deg) * oldv.X()) + (Cos(deg) * oldv.Y()))
End Function


Now muti-shape based bodies fully textured yay :)


daaan(Posted 2011) [#3]
How are you implementing Box2d? I would like to get started with it. Is there a module for it?

Thanks!


Duckstab[o](Posted 2011) [#4]
yes check bah.box2d one of bruceys modules


Duckstab[o](Posted 2011) [#5]
Okay need a little more help please need to create breakable joints
but failing :(