howto lock particles to emit plan?

Discussions about SOFTIMAGEs© Interactive Creative Environment©
ikfk
Posts: 36
Joined: 28 Jul 2012, 07:58

howto lock particles to emit plan?

Post by ikfk » 03 Aug 2012, 07:46

so if they emit from 50 grids, how to just let them follow the grid which its come from?

just like in the max Pflow, at the emitter, there is a `lock` option, thats lock all the particles onto the emitter source, then follow each plans' movement.


thanks

--the stick to geo compound in ICE is so slow, not very good way to do this.

Pancho
Posts: 659
Joined: 19 Sep 2010, 09:28

Re: howto lock particles to emit plan?

Post by Pancho » 03 Aug 2012, 09:07

You could use an ice tree on the point cloud and multiply the emit location of the point with the kine global matrix of the emitter. That should work.

Cheers

User avatar
xsisupport
Posts: 713
Joined: 09 Jun 2009, 09:02
Location: Montreal Canada

Re: howto lock particles to emit plan?

Post by xsisupport » 03 Aug 2012, 13:29

Get self.emitlocation > Get PointPosition > Set Point Position ?
// Steve Blair
// "You're not a runner, you're just a guy who runs" -- my wife
//
// My Blogs: Arnold | Softimage

Pancho
Posts: 659
Joined: 19 Sep 2010, 09:28

Re: howto lock particles to emit plan?

Post by Pancho » 03 Aug 2012, 15:11

I just wonder. This works if the particles were all emitted with the emitter at the null position without rotation.

If the emitter is moving while emitting you need to create a custom emit location attribute in which you store the emit location as a local location relative to the emitter.

Then it should work like discribed. Multiply the custom emit location with the kine global matrix of the emitter.

grahamef
Posts: 281
Joined: 23 Jun 2009, 19:01

Re: howto lock particles to emit plan?

Post by grahamef » 03 Aug 2012, 15:20

Pancho wrote:I just wonder. This works if the particles were all emitted with the emitter at the null position without rotation.

If the emitter is moving while emitting you need to create a custom emit location attribute in which you store the emit location as a local location relative to the emitter.

Then it should work like discribed. Multiply the custom emit location with the kine global matrix of the emitter.
There's no need for that if you are using the emit location, not position. Locations are relative to the geometry and don't need to be transformed.

Pancho
Posts: 659
Joined: 19 Sep 2010, 09:28

Re: howto lock particles to emit plan?

Post by Pancho » 03 Aug 2012, 16:13

O.k. Just wanted to be sure that I present a half-baked idea. Then it should work.

ikfk
Posts: 36
Joined: 28 Jul 2012, 07:58

Re: howto lock particles to emit plan?

Post by ikfk » 06 Aug 2012, 06:16

OK thank you guys i'll have a try :D

ikfk
Posts: 36
Joined: 28 Jul 2012, 07:58

Re: howto lock particles to emit plan?

Post by ikfk » 14 Aug 2012, 04:47

I find a much easier way :D there is a `stick to location`compound, just plug emitlocation to the input location :D