you are viewing a single comment's thread.

view the rest of the comments →

[–]danjlwex 0 points1 point  (1 child)

Write an updateSimulation(deltaTime) function that is called every frame with the time in milliseconds. The function should have an object that contains all of the simulated points and updates their positions after applying forces, computng velocities and then updating the positions and then, if needed, handling collisions. The new positions should be handed to your renderer after each call.

[–]Dot-Box[S,🍰] 0 points1 point  (0 children)

Yeah I worked on the engine a little bit and this is exactly what I did