Babylon.js · 4 / 6

Dashboard
Creative coding · Babylon.js

registerBeforeRender & delta

Hook logic before each frame with scene.registerBeforeRender(fn). Multiply motion by engine.getDeltaTime() (milliseconds) so bobbing and spins stay consistent across refresh rates — the same habit you want before easing into animation groups or physics.