I added a free prop and python script to the marketplace today.
https://marketplace.reallusion.com/newton%27s-cradleThe content uploader showed me a message one or more files is missing, so someone tell me if the prop works or not.The Python script is located here:https://github.com/DataJuggler/PythonScriptsAnd the file you want is called Newton's Cradle.py.I added code to try and apply a transition of Linear, but I had to comment it out because it messed up everything.def ChangeTransitionType(control, currentTime):
key = RLPy.RTransformKey()
key.SetTime(RLPy.RTime(currentTime))
key.SetTransitionType(RLPy.ETransitionType_Linear)
# add this key
control.AddKey(key, 0)
But this messed up the scale of the Cylinder1 and Cylinder5 later in the video.

Is there a way to update an existing key, or is there something I am missing? I noticed the Transform values for the scale of the cylinder after the "mess up" is all set to 100, so I guess I may need to apply the existing scale with it, but I am not sure.
Here is a short video:
Any help is appreciated.
Thanks
Creator of the free website:
PixelDatabase.Net
A Free Online Text Based Image Editor
