Particle effects shaking

Making or wanting help making your own asset? Check in here
Post Reply
qwerq
Posts: 6
Joined: 2014-01-12 00:29

Particle effects shaking

Post by qwerq »

It seems that when you set the size of a particle to greater than 1 via the SizeGraph, the particle shakes when played in game. In the editor however, it doesn't do anything unintended.

This is what the size graph looks like in editor:

Image


And this is what it looks like in game. You can see the system of spikey particles vibrating:

Gfycat - jiffier gifs through HTML5 Video Conversion. Fast, simple gif hosting without size limits.

I'm not certain that the size graph is the root cause of this phenomenon but it seems to be directly proportional to the amount of vibration. I've turned off collision and set all the unneeded physics parameters to 0 to no effect.
Image
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7643
Joined: 2010-08-06 18:06

Re: Particle effects shaking

Post by Mats391 »

No idea about the sizegraph, but i guess you main goal is to have some effect bigger? In that case i would use
objectTemplate.ParticleMaxSize float -> float
Image

Mineral: TIL that Wire-guided missiles actually use wire
qwerq
Posts: 6
Joined: 2014-01-12 00:29

Re: Particle effects shaking

Post by qwerq »

Yea, the goal here was making the size of the particle very quickly expand to a certain size. To my understanding, the size of the particle is defined by the sizeGraph function, where the x axis is time and the y axis is a number between 0 and 1. The final size of the particle drawn on screen is that number multiplied by particleMaxSize.
Image
Post Reply

Return to “PR:BF2 Community Modding”