Model type and mesh

Discussion in 'Modeling' started by mike_k, Jul 31, 2018.

  1. Hi there,

    I was wondering if when spawning an object of type box or cylinder (as opposed to mesh), is there a way to find out which type is it from e.g. mjData or mjModel? Also, if we are spawning one of generic shapes, is it possible to get it's mesh or dimensions?

    Thanks,
    Mike
     
  2. Ok, so actually I managed to get the type from geom_type. Still struggling to find any information on meshes that are used for generic objects in mujoco. Any thoughts?

    Thanks again,
    Mike