ChainWave
double ChainWave (object root, object end, channel chan, double wave, double curl, double oscillation )
Return Value: 1.0 = success, 0.0 = failure.
Arguments:
root |
the parent item of the chain |
end |
the item that marks the end of the chain |
chan |
channel to affect |
wave |
frequency of the wave |
curl |
how tight the chain curls up |
oscillation |
amount of swing in the chain |
Creates a procedural wave by rotating the items in the chain.
Example:
Exp_1
|_ ChainWave( Skeleton_Bone_1, Skeleton_Bone_5, heading, NOW, 0.05, 1.0 )
Exp_1
|_ ChainWave( Skeleton_Bone_1, Skeleton_Bone_5, heading, NOW, 0.05, 1.0 )
This will cause the bone chain to wiggle on it's heading.
Converted from CHM to HTML with chm2web Pro 2.82 (unicode) |