Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

i got the lag fixed and the models not appearing if no animations

Awesome, is it a change to the addon? Do you want to share a patch I can update?

(1 edit)

yea here
2 changes i did
light intensity default at 1.0 ( just my preference)
create animation controller if model has animations, bones, morph

HiveBoi fixed the lag by putting the transform in _tick2(). idk if it will impact performance later on but with frameskip on, 500+ models animated works good. without frameskip on, it lags at around 100 and kinda lags behind the position again. its good enough for now though, if frameskip is on. i asked ai, and it said dirty flag a better option probably.

https://www.mediafire.com/file/vd6nu2bs8x0wcz0/fixed.c3addon/file

(2 edits)

Something though, in a specific case. In this test, standing still and rotating mouse shows the lag even without anything else in the scene, but while moving around with WASD the lag is fixed lol.
Test:
https://limewire.com/d/sQN2N#efUasKNHDN

For my use case, 1400 cars is 144 fps and working good without lag. Even when standing still. So it might be fine with the right camera setup.