Anim8or Community
May 20, 2013, 11:47:22 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: The v0.97d Preview is now available!  See the "Anim8or v0.97 Preview" Forum for details.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Anim8ing a Tank Tread  (Read 3596 times)
NickE
Full Member
***
Posts: 103



View Profile
« on: July 13, 2008, 08:57:12 pm »

I have posted a tutorial on how to animate tank treads using morph targets.  The concepts and scripts used can be applied to other projects as well.

The tutorial can be found at:

http://www.tranceportsoftware.com/anim8orstuff/treads.htm

Please let me know your feedback.
Logged
Arik_the_Red
Sr. Member
****
Posts: 727


Just another aninoob...


View Profile WWW
« Reply #1 on: July 14, 2008, 02:07:21 am »

I just wanted to personally thank NickE for contributing this marvelous new feature for anim8or.

He doesn't realize it, but the real push for tank treads had a lot to do with a project I'm working on, which in turn branched off to a contest at AnimAnon.

Nick, you've opened up a whole new dimension for anim8or users... tracks/treads have so many useful applications, not just for tanks and vehicles, but for conveyor belts, and so much more!

And your truly outrageous approach to making this tank sample is great!

edit-

I realize Nick didn't share his sample, and don't know whether he wants it here, so here's a link to his entry for the AnimAnon "Get Tanked" contest...
http://animanon.com/Forum/index.php?topic=523.msg2237#msg2237
« Last Edit: July 14, 2008, 02:10:52 am by Arik_the_Red » Logged
kreator
Sr. Member
****
Posts: 620


BLENDER,Carrara and anim8or a Great Combination!


View Profile WWW
« Reply #2 on: July 14, 2008, 05:14:22 am »

NickE mate, you are 105% a star for coming up with this script! I hope we can get some more scripts going especially in the animating sense as this is definately where its needed!

You are a god!
« Last Edit: November 05, 2009, 01:05:11 pm by kreator » Logged

O
Arik_the_Red
Sr. Member
****
Posts: 727


Just another aninoob...


View Profile WWW
« Reply #3 on: July 14, 2008, 12:16:44 pm »

NickE mate, you are 105% a star fot coming up with this script! I hope we can get some more scripts going especially in the animating sense as this is definately where its needed!

You are a god!

It's amazing what bloodletting can accomplish when it comes to making wishes, eh?
Logged
almost cool
Sr. Member
****
Posts: 316


The Truffle Shuffle


View Profile WWW
« Reply #4 on: August 20, 2008, 01:25:47 pm »

dude...i dont even know what to say.

thank you.this will help anim8ors for years to come.
Logged

almost cool
Sr. Member
****
Posts: 316


The Truffle Shuffle


View Profile WWW
« Reply #5 on: August 20, 2008, 02:00:31 pm »

whoops.script error. Undecided

out of bounds memory error in script. Huh
« Last Edit: August 20, 2008, 02:10:06 pm by almost cool » Logged

NickE
Full Member
***
Posts: 103



View Profile
« Reply #6 on: August 20, 2008, 05:56:34 pm »

That error can happen when you have forgotten something important.  Did you follow the instructions as given in the tutorial in the first post of this topic?  It is essential that you have set up the attributes properly.
Logged
almost cool
Sr. Member
****
Posts: 316


The Truffle Shuffle


View Profile WWW
« Reply #7 on: August 21, 2008, 02:27:32 pm »

alright ill try again
Logged

Arik_the_Red
Sr. Member
****
Posts: 727


Just another aninoob...


View Profile WWW
« Reply #8 on: August 29, 2011, 11:53:07 am »

Digging into this great old script... NickE, I came up with this effect when I finally got my tread facing the right direction...



I am not in touch with things enough to think through what might cause that effect. Any ideas?

File attached for your review as well.
« Last Edit: August 29, 2011, 12:48:25 pm by Arik_the_Red » Logged
NickE
Full Member
***
Posts: 103



View Profile
« Reply #9 on: September 01, 2011, 04:04:19 pm »

Arik,
Sorry it took me so long to get to this...

I looked at your attached file and there are several reasons why you are getting this behavior.

1) The script looks at the path and reads the orientation of path at the points where it is going to copy the "copytarget".  If you adjust the individual points on the path in different views, you can inadvertently change the orientation of the path in totally unpredictable ways.  For treads (and similar things), I used the Build->Primitives->N-gon to make a circle and then stretch it out.

2) Your "target" object's pivot was at the origin of the screen rather than in the center of your object.  Your object's orientation is measured from this pivot.  The only way to move that is using the Object/Axis button and manually moving it to the center of the object.

3) Your "target" object's origin was also at the screen origin, rather than your point zero.  I have attached a script that will "fix" the internal coordinates to the apparent coordinates of any highlighted mesh.

I have also attached the original project with an additional object containing the fixed path and object so that the scripts work properly.

Logged
Arik_the_Red
Sr. Member
****
Posts: 727


Just another aninoob...


View Profile WWW
« Reply #10 on: September 01, 2011, 11:11:55 pm »

Nick, yer "da Boss!"

Thanks for the little explanation of things, and even giving me a corrected file to work with and experiment on. I'm on it, and have made it happen!  Look for the results in my posts for the "War Machine" challenge!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!