Nebula
Loading...
Searching...
No Matches
cooking.h File Reference
#include "util/array.h"
#include "physics/geometry.h"
#include "PxPhysicsAPI.h"

Go to the source code of this file.

Classes

struct  Physics::CookedConvex
 A cooked convex hull together with the bone it belongs to. More...

Namespaces

namespace  Physics
 Diverse functions for manipulating physics actors.

Functions

bool Physics::CookMesh (const MeshGeometryInput &input, physx::PxGeometryHolder &out)
 Cook geometry into a triangle mesh or a convex mesh, depending on the topology.
Util::Array< CookedConvex > Physics::CookApproxSkin (const MeshGeometryInput &input)
 Cook one convex hull per bone from skinned geometry.
bool Physics::CookHeightField (const HeightFieldInput &input, float heightRange, float targetSizeX, float targetSizeZ, physx::PxGeometryHolder &out)
 Cook height field samples into a physx height field.