I am trying to load all instance_rigid_body and instance_rigid_constraint and then assemble them together for our engine format. We have to load from <physics_scene> because there is possible of overriding information between instance_rigid_body and rigid_body (5-15 in spec)
Here is the pipeline of parsing physics scene:
<instance_rigid_constraint> + physics_mode url ==> <rigid_constraint> in <physics_model> ==> <rigid_body> in <physics_model> ==> have to search <instance_rigid_body> in <physics_scene> for that?
It seems that we have to do some search to retrieve <instance_rigid_body> information if we start from <instance_rigid_constraints>. Is there any better way to load them?
Thanks a lot