|
Data Juggler
|
Data Juggler
Posted 4 Years Ago
|
|
Group: Forum Members
Last Active: 9 Months Ago
Posts: 1.8K,
Visits: 5.6K
|
Edit: 11.22.2021: I fixed it, by cloning the prop, and applying the images to each prop, then hiding all the props, and each loop I show one of the cloned props, and hide the last prop. The code is checked in on Git Hub. Video coming soon, I am trying to think of another use besides a sign. https://github.com/DataJuggler/PythonScripts/blob/main/ImageRotator.py-------- I have a python script called ImageRotator.py: https://github.com/DataJuggler/PythonScripts/blob/main/ImageRotator.pyWhat am I trying do is apply a series of images to a prop, similar to an animated Gif:I have a simple prop I created, and I select SignFace whenever I run the script. The last image applies, and doesn't animate.I suspect I am doing something wrong around this: result = material_component.LoadImageToTexture(mesh_name, material_name, texture_channel, fileName)
Thanks for any help, I think this script could be useful if I can get it to work. Here are the 5 images I am using:   
Creator of the free website: PixelDatabase.Net A Free Online Text Based Image Editor

|