#include <Shape.hpp>
◆ UseDensity()
◆ UseFriction()
◆ UseRestitution()
◆ UseVertexRadius()
◆ density
Density of the associated shape.
- Note
- This is usually in kg/m^2.
-
This must be a non-negative value.
-
Use 0 to indicate that the shape's associated mass should be 0.
◆ friction
Friction coefficient.
- Note
- This must be a value between 0 and +infinity.
-
This is usually in the range [0,1].
-
The square-root of the product of this value multiplied by a touching fixture's friction becomes the friction coefficient for the contact.
◆ restitution
Restitution (elasticity) of the associated shape.
- Note
- This should be a valid finite value.
-
This is usually in the range [0,1].
◆ vertexRadius
The documentation for this struct was generated from the following file: