Log in

View Full Version : Can I apply nonlinear force to haptic device in vizard?


Melody
10-27-2014, 11:14 AM
Can I apply nonlinear force to haptic device?
For example, F=x^2 (x is changing all the time)
Please let me know. Thank you so much.

Jeff
10-27-2014, 05:24 PM
You could update the magnitude of the effect over time using the <effect>.setMagnitude command.

Melody
10-28-2014, 06:52 AM
Thanks!
I think I should update the constant effect. Correct?

Jeff
10-28-2014, 03:42 PM
Yes, you could add a constant effect with changes to the magnitude.

Melody
10-29-2014, 04:51 PM
Thank you so much, Jeff!