-
Flooring a wiggle with Trapcode 3D Stroke
Having a small problem here. I’m using Trapcode 3D Stroke on a layer and have enabled the ‘Repeater’ to 4 instances. What I’m trying to achieve is wiggle the Y displacement so the instances move up and down. However as the object I’m trying to wiggle is supposedly based on the floor, I would prefer if the wiggle does not go below this position. I’ve found the expression below on here that can floor a wiggle.
Although I would presume this only works with a layers Position because I’m getting the following error if I try to add it to the ‘Y Displace’:
Class ‘Number’ has no property or method named ‘0’
Does anyone know how to floor a wiggle just based on the Y value?
Extremely grateful in advance for any assistance.
Cheers.
w = wiggle(1,50)-value;
[value[0],value[1]-Math.abs(w[1])]