PHC icon indicating copy to clipboard operation
PHC copied to clipboard

How to set position of humanoid and model multiple humanoids

Open jehanyang opened this issue 1 year ago • 1 comments
trafficstars

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?

jehanyang avatar Apr 17 '24 03:04 jehanyang

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.

ZhengyiLuo avatar Apr 29 '24 19:04 ZhengyiLuo