profdambledore / UE4-N_Body_Simulation

A n-body simulation created in UE4 with C++
2 stars 1 forks source link

May I know Have you tried to implement the Barnes-Hut In code. #2

Open john012343210 opened 1 month ago

john012343210 commented 1 month ago

May I know Have you tried to implement the Barnes-Hut In code.

profdambledore commented 1 month ago

Hey,

No, I wasn't able too. This was created during my Bachelors degree for my uni course. I did attempt to, however I came into the issue where Unreal Engine's TOctree data structure was static and wouldn't update unless the structure was destroyed and recreated. My findings are highlighted in the Technical Report, under section 4 - Implementing the TOctree.

In section 8 - Further Improvements, I have added that a custom octree could be created, but that was not possible in the timeframe for the university project.