View Single Post
  #2  
Old Today, 09:29 AM
sado_rabaudi sado_rabaudi is offline
WorldViz Team Member
 
Join Date: Jul 2016
Posts: 42
Animations are best made in another program (such as Blender) and then played back in Vizard. You can trigger the animation playback from built-in animations using code similar to this:
door = vizfx.addChild('DoorAnimated.osgb')
door.setPosition(0, 0, 5)
door.setAnimationSpeed(0.5)
door.setAnimationState(0)
door.setAnimationFrame(100)
door.setAnimationLoopMode(viz.OFF)

See the C:\Program Files\WorldViz\Vizard8\resources\piazza_animations .osgb for an example of this

There are also some limited particle based animations available in the Inspector tool.
Reply With Quote