View Single Post
  #2  
Old 06-30-2010, 02:20 AM
Ellen Ellen is offline
Member
 
Join Date: Jun 2010
Posts: 3
Quote:
Originally Posted by Ellen View Post
Hey there,

I´ve a problem spinning the ear of a rabbit.
My animation should be similar to this video:
http://www.youtube.com/watch?v=m10h7nXSZ_g

But because I´m not familiar with programming, the ears leave the body of the rabit when they spin I tried to find some solution like "spinning an object around a specific point" but I didn´t find one.

My unsatisfying solution until know looks like this:



p.s.: Body and ears were all single objects which I positioned in a room

Can someone please help me?

THANKs
Just to let you know, I also tried it with a path:

Quote:
path = viz.add(viz.ANIMATION_PATH)
positions = [ [0,0,0], [0.2,0,0], [0.4,0,0], [0.6,0,0]]

for x in range(0,len(positions)):
Ear1.setPosition(positions[x])
cp = viz.add(viz.CONTROL_POINT)
cp.setPosition(positions[x])
path.add(cp,x+1)

path.loop(viz.LOOP)
path.setAutoRotate(viz.ON)

Ear1.link(path)
path.play()
but this is also not what I expected
Reply With Quote