Dev Blog: Project Moldering
Fixed my update problem

If you haven’t seen my problem check the post below. I was having a problem where objects affecting each other (in terms of force) wouldn’t show their effects on the second object until the next update cycle. The objects being affected would appear to lag because it wouldn’t be until the next update cycle that the changes were shown.

By adding a list of all the forces acting on each other and iterating through this list after every game update cycle I was able to fix this problem.

-James

blog comments powered by Disqus Bookmark and Share