PDA

View Full Version : Spin non-circular objects along its axis


Vishav
11-22-2017, 06:05 AM
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?