ZhengyiLuo / PHC

Official Implementation of the ICCV 2023 paper: Perpetual Humanoid Control for Real-time Simulated Avatars
https://zhengyiluo.github.io/PHC/
Other
480 stars 42 forks source link

How to set position of humanoid and model multiple humanoids #47

Closed jehanyang closed 5 months ago

jehanyang commented 6 months ago

Hi, I am still getting familiar with the codebase but I wanted to ask how I can generate multiple standing humanoids and set each of their positions in the simulation. Thank you.

Would it also be possible to simulate a humanoid sitting on a chair as well if a chair is spawned in the simulation?

ZhengyiLuo commented 6 months ago

The humanoid position generation code is done in the function called _sample_ref_state.

Yes, it would be possible if you have the correct locations.