New to box 2d question

Hi, Ive been playing with box2d and its really amazing but ive been having trouble trying to create a basket type object that follows my mouse. First I can create an object kinda like a platform ___________ to catch other objects but when something falls on top of this one this starts spinning over the pivot that I have with the mouse, is there a way to have a nondynamic object to interact with my physics objects, or to set this object to somehow not spin.

Also in the other hand ive been trying to create the basket with tree objects to work as one (since you cannot create one concave object) but I cannot get the tree objects to move like one, they all have independent forces applying, anybody know how to do this?

Thanks
Ok, first question is quite easy.
Code:
var bodyDef = new b2BodyDef();
bodyDef.fixedRotation = true;


Second one is also easy, what you need to do is create a single body with three shapes in it. The testbed has examples of this, but just as a point of reference, try this.

Code:
var boxDef:b2PolygonDef = new b2PolygonDef();
boxDef.SetAsOrientedBox(halfWidth, halfHeight, new b2Vec2( blah, blah ), angle);


this way, you put in your dimensions, and substitute my blahs for your position. Keep in mind this is local position offset from the body, so if you wanted a basket that was 2 units wide at its base with slightly slanted walls at each end of the base, you would offset them to x = 1 for the right side, and x = -1 for the left.
wow man, thank you, thats a great I finally got it to work.

Original thread: https://box2d.org/forum/viewtopic.php?t=3300