WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-22-2017, 07:05 AM
Vishav Vishav is offline
Member
 
Join Date: Jun 2017
Posts: 54
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
Reply With Quote
  #2  
Old 11-26-2017, 11:16 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,459
That code should spin the model around it's local Y axis. What is the result you're getting?
Reply With Quote
Reply

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
Simultaneous Actions on Multiple Objects javadi Vizard 2 07-19-2013 04:54 PM
Semi-circle array containing target and distractor objects ptjt255 Vizard 3 08-04-2009 04:09 AM
multiple objects durf Vizard 1 04-10-2009 02:42 PM
spin around axis object kazo11 Vizard 2 04-19-2007 10:48 AM
Could not find plugin to load objects... halley Vizard 1 05-30-2006 12:01 PM


All times are GMT -7. The time now is 01:29 AM.


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