-
Hi, I would like to create a group of objects together and then apply transformations / animations once to the group to have a nicer model. For example:
I'm a bit confused by the different types and and layers of abstraction are not clear to me as there are many (CpuModel, Model, ModelPart, Gm, Geometry etc.), and some cannot be instanced like (ModelPart). Is there any documentation for this that I have overlooked? From the documentations of the structs themselves it is also not clear to me. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
-
Thanks @asny, actually i want this especially because I want to animate it. Your approach is nice, thanks and that would work I guess, but then I would probably add some animation trait and it seems like it would be similar to the model? |
Beta Was this translation helpful? Give feedback.
Hi. I'll try to explain each concept, but overall, I think you should just create your own struct that does exactly what your want and inside that use two
Gm
s, one for the small sphere and one for the big sphere.Geometry
trait.Material
trait.These are the main concepts, so th…