hi

how to rotate an object from its left side .. like we see flippers in pinball game

i did some rn d with setmass but in vain
SetAngularVelocity is the method your looking for.

edit:
or better yet, use motors. Look up revoluteJoints.
i did this

body2.SetXForm(new b2Vec2(26,11),ang)
body2.SetAngularVelocity(ang);


where ang is from( 0 to -10) keep moving up side and vice versa

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