Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Pages: [1] 2

Author Topic: Runaway mine cart  (Read 16727 times)

falloffalot

  • Guest
Runaway mine cart
« on: April 16, 2008, 03:07:12 pm »

I am thinking of animating a runaway mine cart using Anim8or.
The veiw would be from inside the cart with only the tracks and scenery visible.
Is this possible?

Thanks
Logged

thecolclough

  • Sr. Member
  • ****
  • Posts: 890
  • 3D Ignoramus 1988-2002, Anim8or User 2002-present.
    • View Profile
    • www.mattghc.com
Re: Runaway mine cart
« Reply #1 on: April 16, 2008, 03:55:27 pm »

yes!  if you wanted to see some bits of the cart, then there are three ways to do it:

  • make the cart a child of the camera, and animate the camera moving around the tracks
  • make the camera a child of the cart, and animate the cart moving around the tracks
  • or if you want to be really weird, keep the cart and camera static, but attach all the tracks and scenery to a single target, and animate that to make the set move around the camera

(don't take option 3, it'd be way too much work :P )

and if you don't want to see the cart at all, then it's even simpler:

  • animate the camera moving around the tracks - just make sure it stays at a constant height above the track, and doesn't veer off course
  • or if you want to be really weird, keep the camera static, but attach all the tracks and scenery to a single target, and animate that to make the set move around the camera

- colclough
Logged

hihosilver

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1294
    • View Profile
Re: Runaway mine cart
« Reply #2 on: April 16, 2008, 05:50:08 pm »

Yes it's possible, I'd check this out if I were you: http://mongoose.anim8or.org/m2p/index.html
Logged

falloffalot

  • Guest
Re: Runaway mine cart
« Reply #3 on: April 17, 2008, 02:39:52 pm »

Cheers guys.
I can't view the video on that link  :-[
Does anyone know of any other tuts or helpful links to help me out?  ???
Thanks
« Last Edit: April 17, 2008, 02:42:01 pm by falloffalot »
Logged

hihosilver

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1294
    • View Profile
Re: Runaway mine cart
« Reply #4 on: April 17, 2008, 07:21:56 pm »

I can't view the video either, but don't worry about it.  It's not a video tutorial, it's simply a render of a car going over terrain that he used.
Logged

falloffalot

  • Guest
Re: Runaway mine cart
« Reply #5 on: April 18, 2008, 03:17:49 am »

I have made a small test track with a straight and a bend
to get use to the camera angles and movement.
I can get the camera to move nicely down the track at the right height and speed but,
How do I turn the camera so it keeps facing the track and get it to follow the track round the bends?

Thanks for the help
Logged

boron

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Runaway mine cart
« Reply #6 on: April 18, 2008, 05:13:53 am »

http://www.anim8or.com/ubb/Forum1/HTML/000484.html    search button is your  friend
Logged

falloffalot

  • Guest
Re: Runaway mine cart
« Reply #7 on: April 18, 2008, 12:24:19 pm »

Thanks for the help,
 I've already checked out that thread, and thick as I may sound, I still don't get it.  :P ???
The pic below is my test track. I’m trying to make the little red block move along the yellow track keeping the correct orientation in relation with the track.

Could someone please simplify how I make the path go straight then turn also how to create a chase style camera view?
Thanks guys I really appreciate all the help.
Logged

almost cool

  • Sr. Member
  • ****
  • Posts: 316
  • The Truffle Shuffle
    • View Profile
    • www.deadboltdevelopment.com
Re: Runaway mine cart
« Reply #8 on: April 18, 2008, 05:37:18 pm »

Well to get the camera to stay oriented at the block would be a nice start ;), just set the orientation of the camera to "Facing other",then as "other" put figure or object name.then for the instability feel put enable roll.Glad to help! :)

ENSONIQ5

  • Hero Member
  • *****
  • Posts: 1012
    • View Profile
    • Mission Backup Earth
Re: Runaway mine cart
« Reply #9 on: April 18, 2008, 07:36:23 pm »

All you need to do is set the cart's orientation at certain key points, or nodes on the track.  Nodes are where the track changes, from straight to curved or vice versa, as shown here:

http://i132.photobucket.com/albums/q11/Boney_Moroney/TrackTest2.jpg

So, effectively, you have to define the orientation of the cart at these points only.  In scene mode, with the green button on, use the rotation tool to pivot the cart until it sits correctly at each frame that coincides with a node point.  The cart will smoothly pivot from one node to the next, or remain straight on the straight bits.  If it goes a little off track at times you may need to pop in a few more key frames.

For a follow cam, place a camera behind the cart and animate its movement to follow the track, the same way you did for the cart itself.  Then, in Camera Properies, just set the Camera Target to the element name of the cart.  That way the camera will always face the cart no matter where they both are in the scene.

Hope this helps and I look forward to seeing the result.
Logged

boron

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Runaway mine cart
« Reply #10 on: April 19, 2008, 04:55:39 am »

What ensonique said.

Or (this is rpobably a rehash of that link I posted)

Make your cart.

G0 to scene mode and make a target 1, move the target around as if it is outlining the track. Turn on spline path so you can see the spline that represents the movement of the cart.
Use shift printscrene to take a pic of your spline.
Go to object mode. Import that pic as a reference pic.
Use the spline tool to make your tracks in the same shape as the reference pic.
Extrude them.
Import the new tracks into scene mode.
Import cart.
Place the tracks  so they are sumperimposed on your spline path.

Make the target 1 the parent of the cart and the camera.
Make another target 2. Make target 1 the parent of this also.

Set both the camera and the cart to face other. Make this other target 2.
The camera and cart will both follow the tracks exactly.

You use the position of target 2 to determine where they point.

please find rough an8 example attached.

move target 2 (called 2 in scene mode) with the green key pressefd on and you will see the orientation of the cart change.

Boron the moron :)

Logged

falloffalot

  • Guest
Re: Runaway mine cart
« Reply #11 on: April 19, 2008, 09:51:40 am »

Thanks for all the help guys.   :-*
I have now got a camera that chases the cart down a straight track, but I am still having trouble with the corners.  ???
I can't seem to add other key points / nodes to change direction.
I know it's going to be something really simple and will no doubt make me look like an idiot.  :P
All I think I need now is how to go round the corner and I should be able to figure the rest out.
Can you make it so an idiot can understand. Lol  :P
Logged

falloffalot

  • Guest
Re: Runaway mine cart
« Reply #12 on: April 19, 2008, 12:48:26 pm »

Sorry for the double post but,
I've finally got it.  :D
All I need now, is how do I now make the cart keep facing the way it's running
When I try to rotate the cart to face the way the track is running it seems to rotate around the centre of the screen and not on its own axis.
Any ideas guys?
« Last Edit: April 19, 2008, 02:28:41 pm by falloffalot »
Logged

ENSONIQ5

  • Hero Member
  • *****
  • Posts: 1012
    • View Profile
    • Mission Backup Earth
Re: Runaway mine cart
« Reply #13 on: April 19, 2008, 05:43:51 pm »

It has to do with the mine-cart's orientation point not being central to the mine cart itself.  I just posted the way to fix this in your Tutorials thread in animanon.com.  Let me know if it doesn't make sense and I'll do a tutorial or something.
Logged

falloffalot

  • Guest
Re: Runaway mine cart
« Reply #14 on: April 20, 2008, 03:49:50 am »

That's got it.
That’s exactly what the problem was, thanks for the help.

What are the best settings for rendering the movie so I am able to post it on here?
« Last Edit: April 20, 2008, 03:07:41 pm by falloffalot »
Logged
Pages: [1] 2