how to add delay to spine of fish


#1

Script
//spA_expr
float $freq = cc_autoSpine01.spA_Speed * cc_autoSpine01.Speed / 12;
float $delay = cc_autoSpine01.spA_Delay + (1 * cc_autoSpine01.Delay);
float $amp = cc_autoSpine01.spA_Amp * cc_autoSpine01.Amplitude * 5;
float $onOff = cc_autoSpine01.autoSwim;
bau_spA01.rotateY = ((sin((frame*$freq)+$delay)*$amp) * $onOff) + cc_autoSpine01.Offset;

//spB_expr
float $freq = cc_autoSpine01.spB_Speed * cc_autoSpine01.Speed / 12;
float $delay = cc_autoSpine01.spA_Delay + cc_autoSpine01.spB_Delay + (2 cc_autoSpine01.Delay);
float $amp = cc_autoSpine01.spB_Amp * cc_autoSpine01.Amplitude * 5;
float $onOff = cc_autoSpine01.autoSwim;
bau_spB01.rotateY = ((sin((frame
$freq)+$delay)*$amp) * $onOff) ;

//spC_expr
float $freq = cc_autoSpine01.spC_Speed * cc_autoSpine01.Speed / 12;
float $delay = cc_autoSpine01.spA_Delay + cc_autoSpine01.spB_Delay + cc_autoSpine01.spC_Delay + (2 cc_autoSpine01.Delay);
float $amp = cc_autoSpine01.spC_Amp * cc_autoSpine01.Amplitude * 5;
float $onOff = cc_autoSpine01.autoSwim;
bau_spC01.rotateY = ((sin((frame
$freq)+$delay)*$amp) * $onOff) ;

//spD_expr
float $freq = cc_autoSpine01.spD_Speed * cc_autoSpine01.Speed / 12;
float $delay = cc_autoSpine01.spA_Delay + cc_autoSpine01.spB_Delay + cc_autoSpine01.spC_Delay + cc_autoSpine01.spD_Delay + (2 cc_autoSpine01.Delay);
float $amp = cc_autoSpine01.spD_Amp * cc_autoSpine01.Amplitude * 5;
float $onOff = cc_autoSpine01.autoSwim;
bau_spD01.rotateY = ((sin((frame
$freq)+$delay)*$amp) * $onOff) ;

//spE_expr
float $freq = cc_autoSpine01.spE_Speed * cc_autoSpine01.Speed / 12;
float $delay = cc_autoSpine01.spA_Delay + cc_autoSpine01.spB_Delay + cc_autoSpine01.spC_Delay + cc_autoSpine01.spD_Delay + cc_autoSpine01.spE_Delay + (2 cc_autoSpine01.Delay);
float $amp = cc_autoSpine01.spE_Amp * cc_autoSpine01.Amplitude * 5;
float $onOff = cc_autoSpine01.autoSwim;
bau_spE01.rotateY = ((sin((frame
$freq)+$delay)*$amp) * $onOff) ;

//tail_expr
float $freq = cc_autoSpine01.tail_Speed * cc_autoSpine01.Speed / 12;
float $delay = cc_autoSpine01.spA_Delay + cc_autoSpine01.spB_Delay + cc_autoSpine01.spC_Delay + cc_autoSpine01.spD_Delay + cc_autoSpine01.spE_Delay + cc_autoSpine01.tail_Delay + (2 *cc_autoSpine01.Delay);
float $amp = cc_autoSpine01.tail_Amp * cc_autoSpine01.Amplitude * 5;
float $onOff = cc_autoSpine01.autoSwim;
bau_tail01

neither multiplying (2 *cc_autoSpine01.Delay) as 1,2,3,4,5,6 nor 1.

what is the solution for delay.

thanks.


#2

Hi
Do the fish spine with ikSpline and apply sine deformer to the ikSpline curve.
Rgds,


#3

i like indians.

thanks.


#4

if this is the result with new computer and heat map. then what will be with old.

http://www.youtube.com/watch?v=fvo0H_Q_ft0&feature=youtu.be

thanks.


#5

though it is from camtasia.i dont know why it is not of good quality.though original was good(share and produce in avi).

thanks.


#6

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.