the cheatiest way to do this would be to use physics.Make spheres with an associated physics body of exactly the same size as themselves, and attempt to place them. If they intersect, take a look at where they're intersecting and make an effort to determine what size fits in the available space.But I don't really understand the auto place the objects around the sphere line, as this seems to be the criteria process for where to place them, but not explicit enough for me to figure out what you're trying to do in terms of placement.I do a LOT of 3D work in 3D apps (design apps) so I have a lot of ways of thinking about how to fit things into 3D space, and describe how to do that, much of which is far hackier and dodgier than the riguour programmers use 😉However... it mostly works, most often.Scene Kit is basically a very primitive 3D app, kind of like using 3D Studio 2, from the early 1990's.But programmable. Which is where I get lost 😀Just let me know how/what you're trying to do, and I'll suggest a
Topic:
Graphics & Games
SubTopic:
SceneKit
Tags: