- Home /
Particle pivot - unexpected results
I have particle system, I'm using it to create billboard grass at runtime. I'm setting position and size for each particle at runtime:
grassParticles[i].position = grassPoints[i]; //grassPoints is array with Vector3 positions lying on green ground surface visible on second screenshot below
grassParticles[i].startSize3D = new Vector3(1.0f, 1.0f, 0.0f);
And in editor I've set up in Particle System object pivot: 
I've been expecting to see grass billboards moved up by half of it's size in Y axis, but somehow I'm getting this strange result: 
However, if I setup pivot Y axis to 0.0 I'm getting perfectly fine centered billboards: https://i.imgur.com/rfYpevO.jpg
How to setup this correctly?
Your answer
Follow this Question
Related Questions
Particle billboard is visible if camera is to close. 0 Answers
Particle system billboard size 1 Answer
How to cancel the Z-axis rotation on particle billboarding? 3 Answers
Stretched Billboard particles only render when in motion 0 Answers
alphablended shader rendering infront of billboarding trees? 1 Answer