WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Spin non-circular objects along its axis (https://forum.worldviz.com/showthread.php?t=6080)

Vishav 11-22-2017 06:05 AM

Spin non-circular objects along its axis
 
Dear all,

I want to spin non-circular objects along its axis. But somehow nothing is working. Although example of plant spinning is available, i want to add spinning action to toys of different shapes and available code is not working in my case. Please do help.

PFA source code:
spin = vizact.spin(0,1,0,15)
s1=ob1.addAction(spin)

Regards

Vishav

Jeff 11-26-2017 10:16 PM

That code should spin the model around it's local Y axis. What is the result you're getting?


All times are GMT -7. The time now is 02:12 AM.

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