How to set particles' positions relative to the object in a behavior1k task? #1035
-
I find the json file for a task in a certain scene like Beechwood_0_int_task_clean_a_leather_belt_0_0_template.json. I want to know how can I set the value for keys in "system_registry", like 'water', 'cloth' or 'dust'. For example, there may be 20 dust particles. How to give an accurate value of positions? I find four obj states sampling functions -- fill, cover, soak, boil. Are these particles set by these sampling functions? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @shengyin1224 , during sampling, I don't think we have precise control over where specifically the particles can go.
@ChengshuLi can probably also comment more on this. |
Beta Was this translation helpful? Give feedback.
-
@shengyin1224 To add to Hang's comments, You can also call the low level APIs to directly spawn particles. The following code will spawn two water particles at the specified positions.
|
Beta Was this translation helpful? Give feedback.
@shengyin1224 To add to Hang's comments,
Filled
andCovered
states do spawn particles in relationship to other rigid objects.You can also call the low level APIs to directly spawn particles. The following code will spawn two water particles at the specified positions.