saladin
29-10-2007 12:09:23
Hi,
I'm trying to use numericAnimations to control some time related values. And I haven't had much luck converting a float to an ogre.AnyNumericValue.
Code:
Is there any way I can work around it?
Cheers.
I'm trying to use numericAnimations to control some time related values. And I haven't had much luck converting a float to an ogre.AnyNumericValue.
Code:
ogre.AnyNumeric(3.0)
Traceback (most recent call last):
File "<input>", line 1, in <module>
ArgumentError: Python argument types in
AnyNumeric.__init__(AnyNumeric, float)
did not match C++ signature:
__init__(struct _object *, class Ogre::AnyNumeric other)
__init__(struct _object *, class Ogre::AnyNumeric value)
__init__(struct _object *)
__init__(struct _object *)
Is there any way I can work around it?
Cheers.