here is an example of what’s not working the way I expected it to:
import bge import GameLogic import pprint import time cont = bge.logic.getCurrentController() own = cont.owner own["timer"] = time.time() + 2.0 print (own["timer"]) print (time.time())
the output always looks something like this:
Blender Game Engine Started
Blender Game Engine Finished
the first number is always truncated. it always looks like “*******.0”. it aslo doesn’t seem to add the 2.
I’m trying to use time.time() as a sort of timer. I have an idea of a workaround, but this is driving me nuts. the almost OCD part of me is tingling hard.