Elements don't have an update method.

  • briancomics
    12th Jul 2021 Member 0 Permalink

    I noticed some element files like SAND don't have an update function. If you look at WATR, you can see an update function that controls its behaviour. Where is SAND's update function?

  • Lord_Bowserinator
    12th Jul 2021 Member 0 Permalink

    @briancomics (View Post)

     Sand doesn't do anything so it doesn't have an update function.

     

    If you mean stuff like movement and state transitions that's in Simulation.cpp