sim.getShapeMesh

Retrieves a shape's mesh information

Synopsis

list vertices, list indices, list normals = sim.getShapeMesh(int shapeHandle) float[] vertices, int[] indices, float[] normals = sim.getShapeMesh(int shapeHandle)

Arguments

  • shapeHandle: handle of the shape. See sim.exportMesh for a usage example.

Return values

  • vertices: array of vertices
  • indices: array of indices
  • normals: array of normals


See also: