Details
-
Task
-
Resolution: Done
-
P2: Important
-
6.1
-
None
-
db9f0e7b5b8d446a9f0921c1b2d49a53ef34b6ac
Description
Conside adding couple properties into attractor:
- "bool useCachedPositions" which would default to true (current behavior). When set to false, m_shapePositionList is not generated and position is taken live from the shape in affectParticle(). This way attractor works also when shape rotation, scale etc. changes during the particle system run.
- "int positionsAmount" which would set the amount of cached positions, so only affects when cachedPositions is true. Currently amount is same as affected particles amount, but users may want to use bigger amount to make it more random or smaller amount to save memory.
Attachments
For Gerrit Dashboard: QTBUG-92391 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
343590,5 | Add position cache modifiers to attractor API | dev | qt/qtquick3d | Status: MERGED | +2 | 0 |