Back in University, in math classes, i remember studying something about defining ellipses in expressions, but i don't remember much of that.
Recently i had an idea and would like to test out some mechanics first, if its even possible to accomplish my goals.
Tho the trick is, i need loads (5k+) of spheres moving around other spheres and i want to check collision between them. Checking collision between each sphere will be... pain for cpu. Especially on tablet devices and phones.
So i thought that splitting them into regions, and then checking collisions in one region would be enough. But one object can pass through many regions.
Then i thought that maybe it would be possible to use such thing:
a) Create object
b) Define orbit ellipse in expression
c) Traverse tree of sphere objects to find potential collision targets
d) Calculate time when both will collide
Is such thing possible, or i am looking for an easy way?