If you have a feet model, you can link it to the main view and use the
setPos and
setEuler operators to keep the Y position on the floor and only transfer the yaw of the main view. Here is a sample that uses the ball model as the feet:
Code:
import viz
viz.go()
viz.add('tut_ground.wrl')
feet = viz.add('ball.wrl')
feet_link = viz.link(viz.MainView,feet)
feet_link.setEuler([None,0,0])
feet_link.setPos([None,0,None])