How to soften when doing morpher animation

When I use a morph animation for a model, the model automatically turns into a hard edge. How should we avoid such changes?


let animation = CABasicAnimation(keyPath: "morpher.weights[0]")
animation.fromValue = 0.0
animation.toValue = 1.0
animation.autoreverses = true
animation.repeatCount = MAXFLOAT
animation.duration = 0.25
face.addAnimation(animation, forKey: nil)


here is the animation

https://drive.google.com/file/d/1YuO_K52x0Dv_5unDryMH4mGbCVWsJ3qi/viewhttps://drive.google.com/file/d/1YuO_K52x0Dv_5unDryMH4mGbCVWsJ3qi/viewhttps://drive.google.com/file/d/1YuO_K52x0Dv_5unDryMH4mGbCVWsJ3qi/view

Accepted Reply

Hello,


Setting unifiesNormals to true may solve your issue.

Replies

Hello,


Setting unifiesNormals to true may solve your issue.