[OPEN-SOURCE] Machinery Modelling Toolkit

Hi, I have another question :slight_smile:

Since the physics event tick should be the place where we call the mmt commands like addforce and addtorque, I was wondering if there is a way to call an event to perform in this physics event tick ONLY on call. Atm I have the functions which should be called placed inside the physics tick with one variable set to 0, so whenever I need this function to be called I just change the value to sth unequal to 0. But since this doesnt seem to be a very clean solution, I was wondering if there is an easy way around this “sleeping function”.

Thx in advance