well, JEFF, I have tried to follow the gallery example in tutorial as well as your advices. the collision works around main-view and all stuff react including avatar. but the avatar responses as an object(like the balloon).(avatar still walking through the wall and balloon)
any help would be appreciated
HTML Code:
import viz
viz.go()
#viz.phys.enable()
court= viz.add( 'court.ive' )
court.setPosition(0,0,15)
viz.collision()
avatar=viz.add('vcc_female.cfg')
#view=viz.MainView
#link=viz.link(view,avatar)
#link.preTrans([0,-1.5,4])
#viz.MainView.collision()
balloons=[]
for i in range (0,4,3):
balloon=viz.add('balloon.ive')
balloon.setScale(7,7,7)
balloon.setPosition(0,0,i+5)
balloons.append(balloon)
walk_Forward = vizact.walkTo([5,0,15])
avatar.addAction(walk_Forward)
balloon.collideSphere()
#avatar.disable(viz.COLLISION)