Parameter | Description |
---|---|
body | The body to attach the shape to. |
geometry | The shape geometry to use. |
definition | The shape definition to use. |
PhysicsShape The created shape.
Create a Circle shape, using its default definition, attached to the specified body. See PhysicsBody.CreateShape.
Parameter | Description |
---|---|
body | The body to attach the shape to. |
geometry | The shape geometry to use. |
definition | The shape definition to use. |
PhysicsShape The created shape.
Create a Circle shape attached to the specified body. See PhysicsBody.CreateShape.
Parameter | Description |
---|---|
body | The body to attach the shape to. |
geometry | The shape geometry to use. |
definition | The shape definition to use. |
PhysicsShape The created shape.
Create a Polygon shape, using its default definition, attached to the specified body. See PhysicsBody.CreateShape.
Parameter | Description |
---|---|
body | The body to attach the shape to. |
geometry | The shape geometry to use. |
definition | The shape definition to use. |
PhysicsShape The created shape.
Create a Polygon shape attached to the specified body. See PhysicsBody.CreateShape.
Parameter | Description |
---|---|
body | The body to attach the shape to. |
geometry | The shape geometry to use. |
definition | The shape definition to use. |
PhysicsShape The created shape.
Create a Capsule shape, using its default definition, attached to the specified body. See PhysicsBody.CreateShape.
Parameter | Description |
---|---|
body | The body to attach the shape to. |
geometry | The shape geometry to use. |
definition | The shape definition to use. |
PhysicsShape The created shape.
Create a Capsule shape attached to the specified body. See PhysicsBody.CreateShape.
Parameter | Description |
---|---|
body | The body to attach the shape to. |
geometry | The shape geometry to use. |
definition | The shape definition to use. |
PhysicsShape The created shape.
Create a Segment shape, using its default definition, attached to the specified body. See PhysicsBody.CreateShape.
Parameter | Description |
---|---|
body | The body to attach the shape to. |
geometry | The shape geometry to use. |
definition | The shape definition to use. |
PhysicsShape The created shape.
Create a Segment shape attached to the specified body. See PhysicsBody.CreateShape.
Parameter | Description |
---|---|
body | The body to attach the shape to. |
geometry | The shape geometry to use. |
definition | The shape definition to use. |
PhysicsShape The created shape.
Create a Chain Segment shape attached to the specified body. See PhysicsBody.CreateShape.
Parameter | Description |
---|---|
body | The body to attach the shape to. |
geometry | The shape geometry to use. |
definition | The shape definition to use. |
PhysicsShape The created shape.
Create a Chain Segment shape, using its default definition, attached to the specified body. See PhysicsBody.CreateShape.