in C2 SDK, you could do somethign like
this.runtime.getDt(this.inst);
looking through the C3 docs i don't see an equivalent function. there are several functions having to do with time.
GetStartTime() GetGameTime() GetWallTime()
but none of these get delta time. and none of them are scoped by instances. what is the best approach to get the dt of an instance? in context, this is for a behavior that will move the instance and i need the dt for the movement calculation
Develop games in your browser. Powerful, performant & highly capable.
It's supported and used in the behavior SDK template, but looks like an oversight in the SDK docs. I've added it.