| Parameter | Description |
|---|---|
| geometry | The geometry to use. |
| definition | The shape definition to use. |
PhysicsShape The created shape.
Create a Circle shape, using its default definition, attached to this body.
| Parameter | Description |
|---|---|
| geometry | The geometry to use. |
| definition | The shape definition to use. |
PhysicsShape The created shape.
Create a Circle shape attached to this body.
| Parameter | Description |
|---|---|
| geometry | The geometry to use. |
| definition | The shape definition to use. |
PhysicsShape The created shape.
Create a Polygon shape, using its default definition, attached to this body.
| Parameter | Description |
|---|---|
| geometry | The geometry to use. |
| definition | The shape definition to use. |
PhysicsShape The created shape.
Create a Polygon shape attached to this body.
| Parameter | Description |
|---|---|
| geometry | The geometry to use. |
| definition | The shape definition to use. |
PhysicsShape The created shape.
Create a Capsule shape, using its default definition, attached to this body.
| Parameter | Description |
|---|---|
| geometry | The geometry to use. |
| definition | The shape definition to use. |
PhysicsShape The created shape.
Create a Capsule shape attached to this body.
| Parameter | Description |
|---|---|
| geometry | The geometry to use. |
| definition | The shape definition to use. |
PhysicsShape The created shape.
Create a Segment shape, using its default definition, attached to this body.
| Parameter | Description |
|---|---|
| geometry | The geometry to use. |
| definition | The shape definition to use. |
PhysicsShape The created shape.
Create a Segment shape attached to this body.
| Parameter | Description |
|---|---|
| geometry | The geometry to use. |
| definition | The shape definition to use. |
PhysicsShape The created shape.
Create a Chain Segment shape, using its default definition, attached to this body.
| Parameter | Description |
|---|---|
| geometry | The geometry to use. |
| definition | The shape definition to use. |
PhysicsShape The created shape.
Create a Chain Segment shape attached to this body.