Thread: vizact.fadeto
View Single Post
  #1  
Old 08-09-2010, 10:51 AM
tsmurphy tsmurphy is offline
Member
 
Join Date: Aug 2009
Posts: 4
vizact.fadeto

Hello, I am trying to get my room (and the objects inside it) to fade out all at once while using yield. Here is a sample of what I am doing.
Code:
	
	room = viz.add('room.wrl')
	floorObject = room.add('chair.wrl')
	yield room.addAction(vizact.fadeTo(0,time=1.5))
Although basically everything (e.g. vizact.spin) performs the action to the room and the objects in the room, fadeTo appears to ignore everything. My question is, is it possible to make it like the other functions, that is, so that the whole room actually changes its transparency?
Reply With Quote