LockFlag doesn't work with FVectorDistribution

Hi,

The LockFlag isn’t respected in either FVectorDistribution or FComposableVectorDistribution leading to some curves on GPU Particles being incorrect.

Is there are reason behind this? It seems like BuildLookupTable could do this.

Cheers,
Stu

The same problem is also present for the ‘use extremes’ option.

Hi Stu,

You’re correct - locked axes were added to some, but not the distributions you mentioned. The lock flags are usually honored in distribution sampling (see UDistributionVectorUniform::GetMinValue() for example), so BuildLookupTable should be the right place to add this.

Thanks,
Olaf

Hi,

We think this post contains useful information which we would like to share with our public UE4 community. With your approval, we would like to make a copy of this post on the public AnswerHub which includes the discussion but strips out your username and company name. Please let us know if you are okay with this.

Thanks!

Absolutely ok with making it public.