pscale Questions

   2034   1   0
User Avatar
Member
1 posts
Joined: Dec. 2015
Offline
Hi all
How does the particle become larger with time (life)?
But he can not be more and more must go to a size to stop
How to do it?

thank you all
User Avatar
Member
2184 posts
Joined: Sept. 2015
Offline
In a wrangle:

float Whatever_Your_Adjusting_Factor_Is = 0.5;
float Changing_Size = 0;
float Max_Size = 2.5;

if( (@age * (Whatever_Your_Adjusting_Factor_Is)) < Max_Size)
{
Changing_Size = @age * Whatever_Your_Adjusting_Factor_Is;
}
else
{
Changing_Size = Max_Size;
}

@pscale = Changing_Size;
Edited by BabaJ - July 26, 2017 16:59:40
  • Quick Links