hexagon not shaped right for physics engine

Aug 31, 2014 at 2:37 PM
any hints as to why my hexagon is missing two of it's sides when viewed with debug on?
<Canvas x:Name="LayoutRoot" Background="#FF0C0C0C">
        <ph:PhysicsSprite Height="200" x:Name="cnvBody" Width="200"  ShapeType="Polygon">
            <Path x:Name="theHexagon" Fill="Red" Data="M 86.60254,0 
                                                          L 173.20508,50 
                                                          L 173.20508,150
                                                          L 86.60254,200 
                                                          L 0,150 0,50 
                                                          L 86.60254,0 z" Width="200" Height="200"    Stroke="#FFffffff"  UseLayoutRounding="False" >
            </Path>
        </ph:PhysicsSprite>
    </Canvas>
Aug 31, 2014 at 4:01 PM
this seems to fix problem...added one more line segment which makes since in hindsight I guess :)
  <ph:PhysicsSprite Height="200" x:Name="cnvBody" Width="174"  ShapeType="Polygon">
            <Path x:Name="theHexagon" Fill="Red" Data="M 86.60254,0 
                                                          L 173.20508,50 
                                                          L 173.20508,150
                                                          L 86.60254,200 
                                                          L 0,150 0,50 
                                                          L 86.60254,0 
                                                          L 173.20508,50 
                                                          z" Width="174" Height="200"    Stroke="#FFffffff"  UseLayoutRounding="False" >
            </Path>
        </ph:PhysicsSprite>