freeze particle at age from cache.

Discussions about SOFTIMAGEs© Interactive Creative Environment©
izze
Posts: 176
Joined: 24 Sep 2009, 18:02

freeze particle at age from cache.

Post by izze » 22 May 2013, 17:30

I have several particle simulations which are cached. I am reading from the icecache. I would like to freeze the particles position and rotation at age X. Can someone help me accomplish this? Thanks in advance.

Christopher

User avatar
Tekano
Posts: 488
Joined: 09 Jun 2009, 12:49
Location: London, UK

Re: freeze particle at age from cache.

Post by Tekano » 22 May 2013, 17:52

creative sheep Christopher? :p

anyway. here goes if it is...


if age = X
get data pointposition - set data stored_pointposition
get data rotation - set data stored_rotation

if age > X
get data stored_pointposition - set data pointposition
get data stored_rotation - set data rotation

or similar

:-bd
Gossip is what no one claims to like, but everybody enjoys.

izze
Posts: 176
Joined: 24 Sep 2009, 18:02

Re: freeze particle at age from cache.

Post by izze » 22 May 2013, 18:13

Thanks for the help. But I failed. Points move to 0,0,0, after X frames.

izze
Posts: 176
Joined: 24 Sep 2009, 18:02

Re: freeze particle at age from cache.

Post by izze » 22 May 2013, 19:10

NM, that worked perfectly. Thank you very much for the help.