compas-dev / compas_view2

Standalone viewer for COMPAS
https://compas.dev/compas_view2/
MIT License
7 stars 9 forks source link

Solar #150

Open Licini opened 2 years ago

Licini commented 2 years ago

A practice to create a "mini solar system" example with object hierarchies. Turned out to be not as straight forward as I thought, especially when children object needs to inherent translation but not rotation, since each celestial body suppose have "globally" static rotation axis. Anyway a interesting experiment for rethinking our api design

image
tomvanmele commented 2 years ago

cool!

would this not become a lot easier if every object had its own local frame? the movement of child objects would then be relative to that frame, while the movement of the object itself (for example a rotation) would be relative to this frame as well...