Simpack - movement of bar sliding on edge

 

 

 

 

 

As visible in the picture, there is a bar / beam on this grey block. When simulating, the bar should behave like in real life. It would not only tilt over, but also slide over the edge. There is friction between those solid bodies with a given µ. The grey block is fixed, it doesn't move (blue constraint).

I tried to implement some connection, but I don't get the result I want. Mostly the bar does not move at all or it just swings like a pendulum without sliding over the edge. 

 

Does somebody know what to do to get the desired result?

Simpack