newton.geometry#
Classes
Describes a signed distance field for simulation |
|
A broad phase collision detection class that performs N x N collision checks between all geometry pairs. |
|
A broad phase collision detection class that only checks explicitly provided geometry pairs. |
|
Sweep and Prune (SAP) broad phase collision detection. |
|
Describes a triangle collision mesh for simulation |
Functions
|
Build a continuous collision detection (CCD) system using a generic support function. |
|
Computes the mass, center of mass and 3x3 inertia tensor of a shape |
|
Calculates the radius of a sphere that encloses the shape, used for broadphase collision detection. |
|
|
|
|
|
|
|
|
Create an empty/null geometry. |
|
|
Create a plane. |
|
|
|
Constants
Name |
Value |
---|---|
GEO_BOX |
1 |
GEO_CAPSULE |
2 |
GEO_CONE |
4 |
GEO_CYLINDER |
3 |
GEO_MESH |
5 |
GEO_NONE |
8 |
GEO_PLANE |
7 |
GEO_SDF |
6 |
GEO_SPHERE |
0 |
MESH_MAXHULLVERT |
64 |
PARTICLE_FLAG_ACTIVE |
1 |
SHAPE_FLAG_COLLIDE_PARTICLES |
4 |
SHAPE_FLAG_COLLIDE_SHAPES |
2 |
SHAPE_FLAG_VISIBLE |
1 |