Is there really good documentation on how to add components programmatically? Like where can I find how to add something like a rigid body and collision and control their parameters using Code alone.
Not sure what you mean by ‘other’ API though? Did you mean the data part that you need to pass? In which case, it is the properties of the component that you want to add.
It’s OK - this topic is never explicitly covered in the API reference manual and I’m glad you raised the issue. I’ll try to improve this in the coming days.