create Segment Shape
Create a segment (line) shape and attach it to this body.
Return
The created shape
Parameters
def
The shape definition (density, friction, etc.)
segment
The segment geometry
Create a segment (line) shape and attach it to this body.
The created shape
The shape definition (density, friction, etc.)
The segment geometry