You can use the blendtype parameter in the Interval.
- Code: Select all
nodePath.posInterval(duration, pos, starPos=None, blendtype=None,bakeInStart=1)
The blendtype parameter will get what you want.
The blendtypes are:
BTEaseIn = 1
BTEaseInOut = 3
BTEaseOut = 2
BTInvalid = 4
BTNoBlend = 0
As examples either use the number blendtype = 3
or use blendtype = CInterval.BTEaseInOut