Main Content
convertToCollisionMesh
Description
converts a collision primitive geometry, collisionMesh
= convertToCollisionMesh(collisionObj
)collisionObj
, to a convex mesh
collision geometry, collisionMesh
, which retains the pose of
collisionObj
.
Note
Because converting a collision primitive to a collision mesh discretizes the
underlying primitive, the converted mesh can return a different checkCollision
result
than the primitive equivalent.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2022a
See Also
Objects
Topics
- Generate Code for Manipulator Motion Planning in Perceived Environment (Robotics System Toolbox)