Particle Position

   2452   4   0
User Avatar
Member
27 posts
Joined: March 2017
Offline
hey everyone, i have a one silly question, the thing is as you can see on the image i have created noise offset for this sphere and infected attribute for the points, so how am i suppose to stop the points from moving and make them static with VEX when they get red color? THANKS!
Edited by ferilous - Sept. 11, 2018 12:04:56

Attachments:
Untitled.png (837.6 KB)
colortest.hip (173.7 KB)

User Avatar
Member
900 posts
Joined: Feb. 2016
Offline
vector red = set(1, 0, 0);
if(@Cd == red)
{
@P = @P;
}


Hey, It might be very wrong, always try to provide a simple project file.
More chances to get some help and easier for the others to understand the problem.

Cheers
User Avatar
Member
27 posts
Joined: March 2017
Offline
Andr
vector red = set(1, 0, 0);
if(@Cd == red)
{
@P = @P;
}


Hey, It might be very wrong, always try to provide a simple project file.
More chances to get some help and easier for the others to understand the problem.

Cheers
i tried it and it's not working, i just attached hip file under the picture
User Avatar
Member
2077 posts
Joined: Sept. 2015
Offline
Just do another solver after your attribute transfer node like this.
Edited by BabaJ - Sept. 11, 2018 15:56:37

Attachments:
colortest-1 v1.hiplc (185.8 KB)

User Avatar
Member
27 posts
Joined: March 2017
Offline
BabaJ
Just do another solver after your attribute transfer node like this.
Thanks! That's smart
  • Quick Links