I update thattopic, because I have the same problem as LittleG () : one OSG 
file with an AnimationPathCallback:

num_children 1
  MatrixTransform {
    DataVariance DYNAMIC
    name "bugklappe01"
    nodeMask 0xffffffff
    cullingActive TRUE
    UpdateCallbacks {
      AnimationPathCallback {
        pivotPoint 0 0 0
        timeOffset 0
        timeMultiplier 1
        AnimationPath {
          LoopMode LOOP
          ControlPoints {
            0 -15580.4365234375 482791.625 4228893.5 0.876726806163788 0 0 
-0.480988711118698 0.999999940395355 1 1
            0.0333333350718021 -15580.4365234375 482791.625 4228893.5 
-0.829647123813629 0 0 0.558288156986237 0.999999940395355 1 1
            0.0666666701436043 -15580.4365234375 482791.625 4228893.5 
-0.775771200656891 0 0 0.631014347076416 0.999999940395355 1 1
...
...
...


The object moves after the node has been loaded.
However, impossible to access the callback in order to change the 
timeMultiplier (I would like to accelerate or decelerate the motion with a 
slider on the screen... and go to a static position with an other slider).

Thanks.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=30120#30120





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to