I’m having some trouble with particles,
When i set the particle x and y to the player.x and player.y , the already created particles follow the x and y positions of the player forming a straight line. Id like the already created particles to flow freely and not follow the x and y positions of the player.
I have set the positionType: ParticleVPlayBase.Free but i still get the same result.
Here is my particle element:
x: player.x
y: player.y
sourcePositionVariance: Qt.point(0,0)
// Particle configuration properties
maxParticles: 38
particleLifespan: 1.5
particleLifespanVariance: 0.2
startParticleSize: 2
startParticleSizeVariance: 2
finishParticleSize: 25
finishParticleSizeVariance: 10
rotation: 180
angleVariance: 0
rotationStart: 0
rotationStartVariance: 0
rotationEnd: 0
rotationEndVariance: 0
// Emitter Behavior
emitterType: 0
duration: 0
positionType: ParticleVPlayBase.Free
// Gravity Mode (Gravity + Tangential Accel + Radial Accel)
gravity: Qt.point(0,0)
speed: 85
speedVariance: 2
tangentialAcceleration: 0
tangentialAccelVariance: 0
radialAcceleration: 0
radialAccelVariance: 0
// Radiation Mode (circular movement)
minRadius: 0
minRadiusVariance: 0
maxRadius: 0
maxRadiusVariance: 0
rotatePerSecond: 0
rotatePerSecondVariance: 0
// Appearance
startColor: Qt.rgba(0.76, 0.25, 0.12, 1)
startColorVariance: Qt.rgba(0, 0, 0, 0)
finishColor: Qt.rgba(0, 0, 0, 1)
finishColorVariance: Qt.rgba(0,0,0,0)
textureFileName: "../../assets/img/particleFire_32.png"
// start when finished loading
autoStart: true
Thanks