![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | witch_milk |
Hi , I have animated a 3D sprite to move upwards and then fade away with translation and modulate. This sprite is instanced a lot and I want each one to have a random offset so that they are all readable. As of now they almost layer onto of each other.
I do not know which value to change in my script.
My set up is animated
sprite 3D
Viewport
richtext label (node with desired offset change i am thinking)
I have tried this but it did not work:
randomize() #new
var offset_x
offset_x = randi()%100+1 #get random value between 1 -100 for offset?
#$Viewport/RichTextLabel.position.x = offset_x # set off set?
maybe the property name is not offset_x, I do not know what it is.