moisesjpelaez - Add fixedUpdate for Physics

This commit is contained in:
Onek8 2025-06-01 23:18:35 +00:00
parent 502601e684
commit 016e223fb8

View File

@ -7,7 +7,13 @@ class Time {
if (frequency == null) initFrequency();
return 1 / frequency;
}
// TODO: set physics step from Blender's editor
public static var fixedStep(get, never): Float;
static function get_fixedStep(): Float {
return 1 / 60;
}
public static var scale = 1.0;
public static var delta(get, never): Float;
static function get_delta(): Float {