How do you reverse the direction of particles?
I tried making it negative but that didn't work.
if((r&0xFF)&&((r&0xFF)!=PT_this){
parts[r>>8].vy=((parts[r>>8].vy)*-1);
parts[r>>8].vx=((parts[r>>8].vx)*-1);
}
So you did something like this?
Oh...oops...I forgot to set it = .
EDIT: UMMMM....That turned it into a moving solid that flys off the screen instantly!
EDIT: Wait, I forgot to tell it not to do it to itself. Well...I invented the worst moving solid. :P
EDIT: It needs to work in relation to temp though, but all that does is make stuff crawl and fly off. -_-