Method | Description | |
---|---|---|
createChain ( |
Creates a chain.
|
public static createChain ( |
||
world | The world. | |
start | The start. | |
end | The end. | |
linkWidth | float | The width. |
linkHeight | float | The height. |
numberOfLinks | int | The number of links. |
linkDensity | float | The link density. |
attachRopeJoint | bool | Creates a rope joint between start and end. This enforces the length of the rope. Said in another way: it makes the rope less bouncy. |
fixStart | bool | |
fixEnd | bool | |
return | List |