On 07/04/2015 at 13:44, xxxxxxxx wrote:
Is there a way to change the type of spline that is calculated with c4d._<_gs_<_gs_>_gs>_/gs>_rk">.CalcSplineV. Currently it seems that it uses a Bezier interpolation?
EDIT:
Here is some code. Python tag _WARE_mark">on a null with a float slider user data.
_FTWARE_mark">def _SOFTWARE_mark">main() :
obj = op.GetObject()
Pos = obj[c4d.ID_USERDATA,1]
SL = [c4d.Vector(-200,0,0),c4d.Vector(-100,0,100),c4d.Vector(0,0,0),c4d.Vector(-100,0,-100)]
Spot = c4d.utils.CalcSplineV(Pos, SL)
_78c6-69b1-40a8-9818-76d76b09a739" ="GINGER_SOFTWARE_mark">obj_"cc0878c6-69b1-40a8-9818-76d76b09a739" ="GINGER_SOFTWARE_mark">[c4d.ID_BASEOBJECT_REL_POSITION] = Spot