aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/particles/affectors/gravity.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/particles/affectors/gravity.qml')
-rw-r--r--examples/declarative/particles/affectors/gravity.qml8
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/declarative/particles/affectors/gravity.qml b/examples/declarative/particles/affectors/gravity.qml
index 47710e6306..dc55324f3a 100644
--- a/examples/declarative/particles/affectors/gravity.qml
+++ b/examples/declarative/particles/affectors/gravity.qml
@@ -82,12 +82,10 @@ Item {
}
ParticleSystem { id: sys }
- Move {
+ Gravity {
system: sys
- acceleration: AngleDirection {
- angle: ground.rotation + 90
- magnitude: 32
- }
+ acceleration: 32
+ angle: ground.rotation + 90
}
Emitter {
system: sys