WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 09-13-2017, 09:02 AM
rdkirkden rdkirkden is offline
Join Date: May 2017
Posts: 20
how to change transport rotation speed

Transport movement speed can be changed using the ‘transport.setMovementSpeed’ command. Is it also possible to change transport rotation speed?

In Vizconnect, there are various movement and rotation speed parameters, such as ‘rotationAcceleration’, ‘maxRotationSpeed’ and ‘rotationAutoBreakingDragCoef’, that get assigned to the transport object when it is created. Is there some way to access these properties from within a Vizard program and change their values?

Reply With Quote
Old 09-14-2017, 02:52 AM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,471
There are no built-in commands to change those values. However this is possible by modifying AccelerationTransport, the base class for transports that use acceleration. I've attached an example. The entire transportation folder from the vizard installation is copied into the example folder and methods for setting the rotation acceleration and max rotation speed have been added to the base transport.
Attached Files
File Type: zip transport (77.3 KB, 610 views)
Reply With Quote
Old 09-14-2017, 04:36 AM
rdkirkden rdkirkden is offline
Join Date: May 2017
Posts: 20
Very nice solution, thank you!!

Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Varying rotation speed with spinTo mape2k Vizard 2 03-22-2013 08:48 AM
Custom Joystick Rotation mhead10 Vizard 9 11-26-2012 01:06 PM
random speed and associated coding Saz Vizard 1 05-20-2010 05:03 AM
Calculating Speed with sensor durf Vizard 1 03-13-2009 11:25 AM
Randomly and Continuously Change Avatar's Face Texture Karla Vizard 4 08-22-2008 01:14 PM

All times are GMT -7. The time now is 05:46 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC