Hi,
Is it possible to get decimal/floating values when current frames is divided by FPS?
For instance, on a current frame of 12. FPS of 24.
Currently, it results to 0. I want it to be 0.5.
Here is the working code:
import c4d
fps= doc.GetFps()
base_time = doc.GetTime()
frame = base_time.GetFrame(fps)
time_ratio = frame/fps
print time_ratio
Thank you for looking at my problem