Vizard 8 » Command Index » Vizard objects » node3d » <node3d:avatar>.updaterate
8.0

<node3d:avatar>.updaterate

This action sets the update rate of the avatar

<node3d:avatar>.updaterate(  
rate  
)  
rate
The update rate in seconds

Remarks

The update rate specifies how often to update the avatars movement. The smaller the update rate, the more realistic the motions are. However, this will increase the computing time and may lower your framerate.

Return Value

None

Example

avatar = viz.add('vcc_male.cfg')
# Update the avatars animation every 0.08 seconds
avatar.updaterate(0.08)