It really wont Adrian. See, if you would try to simpto rescale a set of
point positions in object space, they would move.

What you could do is get the length from each segment and find out where
exactly you want to cut it based on length. Not trivial but I think
Kristinka does it.

Or you could scale the whole thing but you would have to scale the point
position array respective to the particle ((point position array -
particle point position)*scale factor + particle point position). Scale
factor would be  = newlength/oldlength.


First solution might be really what you are going after.

Em quarta-feira, 5 de março de 2014, adrian wyer <
[email protected]> escreveu:

>
>
>
>
> i thought this might work...maybe i'm just not getting it?
>
>
>
> a
>
>
>
> -----Original Message-----
> From: [email protected] <javascript:;>
> [mailto:[email protected] <javascript:;>] On Behalf
> Of Grahame Fuller
> Sent: 05 March 2014 16:39
> To: [email protected] <javascript:;>
> Subject: RE: shrinking strands
>
>
>
> StrandLength is just a custom attribute that gets set by some of the stand
> compounds as a convenience, e.g., if you want to use it to drive something
> else. It doesn't actually control the strand length, it's just the sum of
> deltas in the StrandPosition array.
>
>
>
> If you want to make the strand shrink, you can remove the last item from
> the
> StrandPostion array instead.
>
>
>
> gray
>
>
>
> From: [email protected] <javascript:;>
> [mailto:[email protected] <javascript:;>] On Behalf
> Of adrian wyer
>
> Sent: Wednesday, March 05, 2014 11:29 AM
>
> To: [email protected] <javascript:;>
>
> Subject: shrinking strands
>
>
>
> quick question (work goes on even after yesterday)
>
>
>
> i have a particle system firing points that have strands trailing after
> them, they stick to a surface on collision
>
>
>
> i have a state machine which, for starters, won't let me use "IsStuck" as a
> trigger, i can work around this, but it's bloody annoying
>
>
>
> the problem is that once the particle enters state 1, IE is stuck on the
> floor, i want the strand trail to shrink over time
>
>
>
> i have tried starting a timer on enter state 1, then grabbing values from
> the timer and subtracting them from .strandlength, but it only shrinks on
> the first frame, even though this is plugged into execute on every frame
>
>
>
> i can post a scene i f someone fancies having a look, or if anyone knows
> how
> to plot rocket trajectories and have them fade on impact, i'm all ears!
>
>
>
> thanks
>
>
>
>
>
> Adrian Wyer
>
> Fluid Pictures
>
> 75-77 Margaret St.
>
> London
>
> W1W 8SY
>
> ++44(0) 207 580 0829
>
>
>
> [email protected] <javascript:;>
> <blocked::blocked::blocked::blocked::mailto:ad <javascript:;>
> [email protected] <javascript:;>>
>
> www.fluid-pictures.com<blocked::blocked::blocked::blocked::
> http://www.fluid-
> pictures.com/>
>
>
>
> Fluid Pictures Limited is registered in England and Wales.
>
> Company number:5657815
>
> VAT number: 872 6893 71
>
>
>
>

-- 
Gustavo E Boehs
Dpto. de Expressão Gráfica | Universidade Federal de Santa Catarina |
http://www.gustavoeb.com.br/

Reply via email to