Panda3D
Public Member Functions

PhysxKitchen Class Reference

List of all members.

Public Member Functions

PhysxClothMeshcook_cloth_mesh (const PhysxClothMeshDesc &meshDesc)
bool cook_cloth_mesh (const PhysxClothMeshDesc &meshDesc, const Filename &filename)
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:

Detailed Description

Definition at line 36 of file physxKitchen.h.


Member Function Documentation

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 47 of file physxKitchen.cxx.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations