looks like you are using custom orient as the vector that drives rotation.
so replace customRotation with customOrient.
the float you add in creation will store the value in y so you are not re-calculating it per frame in runtime.
ex
//creation
randYOrient = rand(360);
//runtime
“your existing runtime expression”
if (velocity <= .1)
customOrient = <<0,randYOrient,0>>;
