Panda3D
Public Member Functions | List of all members
PhysxKitchen Class Reference

Public Member Functions

bool cook_cloth_mesh (const PhysxClothMeshDesc &meshDesc, const Filename &filename)
 
PhysxClothMeshcook_cloth_mesh (const PhysxClothMeshDesc &meshDesc)
 
bool cook_convex_mesh (const PhysxConvexMeshDesc &meshDesc, const Filename &filename)
 
PhysxConvexMeshcook_convex_mesh (const PhysxConvexMeshDesc &meshDesc)
 
bool cook_soft_body_mesh (const PhysxSoftBodyMeshDesc &meshDesc, const Filename &filename)
 
PhysxSoftBodyMeshcook_soft_body_mesh (const PhysxSoftBodyMeshDesc &meshDesc)
 
bool cook_texcoords (const PhysxClothMeshDesc &meshDesc, const Filename &filename)
 
bool cook_triangle_mesh (const PhysxTriangleMeshDesc &meshDesc, const Filename &filename)
 
PhysxTriangleMeshcook_triangle_mesh (const PhysxTriangleMeshDesc &meshDesc)
 
void set_cooking_params (float skinWidth, bool hintCollisionSpeed)
 Sets two parameters which affect mesh cooking: More...
 

Detailed Description

Definition at line 34 of file physxKitchen.h.

Member Function Documentation

◆ set_cooking_params()

void PhysxKitchen::set_cooking_params ( float  skinWidth,
bool  hintCollisionSpeed 
)

Sets two parameters which affect mesh cooking:

Skin width for convex meshes: Specifies the amount to inflate the convex mesh by when the new convex hull generator is used. Inflating the mesh allows the user to hide interpenetration errors by increasing the size of the collision mesh with respect to the size of the rendered geometry. Default value: 0.025f

Hint to choose speed or less memory for collision structures. Default value: false

Definition at line 40 of file physxKitchen.cxx.


The documentation for this class was generated from the following files: