Hi All,
i'm trying to build bridge kind of game
i'm facing a problem with rotated rectangle (rotation reference is CenterLeftReferencePoint)
when i add this rotated rectangle to physics, it is moved (object rotated with the center reference). it is no more at the position i placed it.
when i add this rectangle with pivot joint to a static physics object, rectangle is dangling as below
which i want is
since in corona we can not specify local reference point and reference angle for pivot joints (which can be done with box2d as per this link http://www.iforce2d.net/b2dtut/joints-revolute)
rotation of second rectangle should be at the pivot joint point
any suggestions how can i achieve desired result