Hi there,
I am quite new to Box2dAS3. Unsurprisingly, I need a little help...
I have a b2Body-object. Now I want to determine its width, height, top-left corner and so forth.
I have been looking all over google, to no avail. I want to attach a prismatic joint to two objects, where one anchor is the top-middle of body1, and the other is the top-bottom of body2. At the same time I want to limit the movement to a range between the negative half-width of body1 and the positive half-width. I got the joint working, but am not sure how to determine these values...
Any help is greatly appreciated 🙂
TIA
toby
I am quite new to Box2dAS3. Unsurprisingly, I need a little help...
I have a b2Body-object. Now I want to determine its width, height, top-left corner and so forth.
I have been looking all over google, to no avail. I want to attach a prismatic joint to two objects, where one anchor is the top-middle of body1, and the other is the top-bottom of body2. At the same time I want to limit the movement to a range between the negative half-width of body1 and the positive half-width. I got the joint working, but am not sure how to determine these values...
Any help is greatly appreciated 🙂
TIA
toby
