21-01-2021, 05:26 AM
Hey small bug report:
if ColorFromViscosity is added to an emitter and ViscositySurfTensionToUserData is not present there are some strange explosions of value, the scripts seem to rely on one another the way they are written right now
A simple fix might be to RequireComponent in the color script , or at least throw a warning/error in the editor log explaining to new users that if you add the color script, you probably also want the script that populates those values
if ColorFromViscosity is added to an emitter and ViscositySurfTensionToUserData is not present there are some strange explosions of value, the scripts seem to rely on one another the way they are written right now
A simple fix might be to RequireComponent in the color script , or at least throw a warning/error in the editor log explaining to new users that if you add the color script, you probably also want the script that populates those values