Expose mjv_flexBodyIdAndPoint as a helper function.
Use the above in studio rather than a custom implementation. PiperOrigin-RevId: 928432476 Change-Id: I99d772c4baf7260abbf9ac8f6d8032704f1ba769
This commit is contained in:
committed by
Copybara-Service
parent
ea2d785e0a
commit
b17b5f7918
@@ -78,6 +78,10 @@ MJAPI int mjv_select(const mjModel* m, const mjData* d, const mjvOption* vopt,
|
||||
const mjvScene* scn, mjtNum selpnt[3],
|
||||
int geomid[1], int flexid[1], int skinid[1]);
|
||||
|
||||
// return body id, compute position of a vertex in a flex
|
||||
MJAPI int mjv_flexBodyId(const mjModel* m, const mjData* d, int flexid, int vertid,
|
||||
mjtNum flexpnt[3]);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user