Distort in all Directions in UE5 Material and Niagara | Download Project Files
outVel = myVel;
int pNum;
PAR.GetNumParticles(pNum);
for(int i=0; i<pNum; i++){
bool myBool;
float3 OtherPos;
PAR.GetVectorByIndex<Attribute="Position">(i, myBool, OtherPos);
float3 OtherScale;
PAR.GetVectorByIndex<Attribute="Scale">(i, myBool, OtherScale);
float3 localVec = OtherPos - myPos;...
2021-03-06 04:38:50 +0000 UTC View Post