Skip to content

Fixes with CPU Particles and timing#3209

Merged
luboslenco merged 2 commits into
armory3d:mainfrom
moisesjpelaez:general_fixes
Aug 18, 2025
Merged

Fixes with CPU Particles and timing#3209
luboslenco merged 2 commits into
armory3d:mainfrom
moisesjpelaez:general_fixes

Conversation

@moisesjpelaez

@moisesjpelaez moisesjpelaez commented Aug 17, 2025

Copy link
Copy Markdown
Collaborator

I noticed the iron.system.Tween class has its timer slowed down when using a CPU Particle System with a color scale ramp, since each single particle was registering a TAnim for its scale over time. Now the scale over time is handled inside ParticleSystemCPU instead, so the Tween class doesn't get over-saturated.

Re-added scale on iron.system.Time. I forgot why I removed it from deltas back when I was updating the physics modules.

Changed index from i to j in the Tween's animation properties loop, since i is being used in the while loop.

@luboslenco luboslenco merged commit 365b5f1 into armory3d:main Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants