[SOLVED]Problem adding Rotated Object to physics with pivot joint

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

[import]uid: 102476 topic_id: 17373 reply_id: 317373[/import]

problem solved, found a way around

thanx to ppl who tried to look into this
if at all anybody actually did that [import]uid: 102476 topic_id: 17373 reply_id: 65937[/import]

hi ysravan62 … could you post how you solved this problem… it would help me as i am looking to do the same.

thanks [import]uid: 98504 topic_id: 17373 reply_id: 66470[/import]

This would be helpful, ysravan62, Would you mind posting how you solved this problem.

Larry
[import]uid: 11860 topic_id: 17373 reply_id: 67035[/import]

Ysravan62 Please can you post your solution… [import]uid: 11428 topic_id: 17373 reply_id: 71028[/import]