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 3

Author Topic: Bone as a Parent to another Element  (Read 44518 times)

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2126
    • View Profile
Bone as a Parent to another Element
« on: March 01, 2021, 07:17:50 pm »

The new build v1.01.1396 dated, Feb. 27, 2021 supports making a bone the parent of another element. A character can carry something in his hand, wear a hat, etc., which will follow wherever his hand or head move.

Here's an example of a character throwing a ball. I've attached the project file.



Note: The parent can't be changed, so I have two balls in this project. The first is attached to the character's hand and is hidden at the moment that it is thrown. The second is hidden at the start and becomes visible in the next frame to complete the throw.
Logged

johnar

  • Hero Member
  • *****
  • Posts: 1032
  • Make it, Move it--Give it Life
    • View Profile
    • youtube vids
Re: Bone as a Parent to another Element
« Reply #1 on: March 02, 2021, 04:34:46 am »

 Hi there steve

 This looks very interesting.

 Having trouble downloading 1396. Same prob as downloading 1395.

Nice throw, btw.
Logged
%

AlecJames

  • Full Member
  • ***
  • Posts: 240
    • View Profile
Re: Bone as a Parent to another Element
« Reply #2 on: March 02, 2021, 08:00:07 am »

(I can download both 1396 and run the sample OK.)

Thanks Steve :)
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2126
    • View Profile
Re: Bone as a Parent to another Element
« Reply #3 on: March 02, 2021, 03:03:14 pm »

johnar Try this link v1.01.1396
Logged

bayinghound

  • Full Member
  • ***
  • Posts: 210
    • View Profile
Re: Bone as a Parent to another Element
« Reply #4 on: March 04, 2021, 06:42:06 am »

How does one go about doing this? Any step by step instructions? 
Logged

johnar

  • Hero Member
  • *****
  • Posts: 1032
  • Make it, Move it--Give it Life
    • View Profile
    • youtube vids
Re: Bone as a Parent to another Element
« Reply #5 on: March 04, 2021, 06:53:17 am »

Thanks Steve
 That worked.
Logged
%

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2126
    • View Profile
Re: Bone as a Parent to another Element
« Reply #6 on: March 04, 2021, 09:55:25 am »

I guess I need to add the "s" to "http" in the URL from now on
Logged

bayinghound

  • Full Member
  • ***
  • Posts: 210
    • View Profile
Re: Bone as a Parent to another Element
« Reply #7 on: March 06, 2021, 03:38:25 am »

Played around with the parent/object with two figures. So far so good. If this is what I think it is, this is what I've been asking for. Thank you so much!
Logged

bayinghound

  • Full Member
  • ***
  • Posts: 210
    • View Profile
Re: Bone as a Parent to another Element
« Reply #8 on: March 07, 2021, 03:51:23 am »

An attempt at attaching a figure to a parent bone in another figure
[/youtube]

Kind of works. It was a pain positioning the whip with a bone in the hand.
Logged

bayinghound

  • Full Member
  • ***
  • Posts: 210
    • View Profile
Re: Bone as a Parent to another Element
« Reply #9 on: March 07, 2021, 05:23:03 am »

Another attempt

[/youtube]
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2126
    • View Profile
Re: Bone as a Parent to another Element
« Reply #10 on: March 07, 2021, 11:39:13 am »

Ouch! :)

Logged

johnar

  • Hero Member
  • *****
  • Posts: 1032
  • Make it, Move it--Give it Life
    • View Profile
    • youtube vids
Re: Bone as a Parent to another Element
« Reply #11 on: March 07, 2021, 08:47:01 pm »



I've come across a couple of problems in creating the test above. Both problems are probably connected to problem 1)

 prob 1) Attaching the ball to bone.
  Frame 0. Add figure to scene. Add ball to scene. Move ball to right hand of figure. Double click ball and set parent to efigure01 and bone to right hand..
 When you click ok, the ball positions itself well away from the right hand bone, and dragging it into proper position again can be quite a challenge. (move/drag right and the ball goes opposite)
 Once the ball is replaced into the right position, it does stay there.

 prob 2) Copying scene keys.

Ball01 is attached to figure01. (first figure to throw. Left side of screen), ball free is the loose ball and Ball02 is attached to figure02. .
 Frame 0 is identical to frame 88, except for keys relating to Ball2.
If you copy ball02 keys from frame 0 to frame 88, you'll see that the ball becomes unattached from right hand bone in figure02

 I've attached file. Maybe i'm missing something, but not seeing it.



Edit:: Its possible i confused myself somewhere with having 2 figures. I did this one with one figure and am able to copy all of first keyframes to last frames, with no problem.
 (copying frames to 'loop' scene. ie: gif above is 74 frames. loops naturally because its an animated .gif image. To make a video 'repeat the sequence' means copying all keys and pasting at the end of the first 'identical' sequence)
 So maybe a mistake of mine, i'll play some more with more than 1 figure, and perhaps i can work out what went wrong.
 Problem number 1), however, still exists.

 
« Last Edit: March 08, 2021, 12:55:08 am by johnar »
Logged
%

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2126
    • View Profile
Re: Bone as a Parent to another Element
« Reply #12 on: March 08, 2021, 10:51:17 am »

I need to work on the position when you attach something. In the mean time, you can do things like setting the offset of the object to (0, length(bone), 0) when you first attach it and it will stay with the end of the bone.

Forgot to add: nice game of catch, johnar!
« Last Edit: March 08, 2021, 10:52:02 am by Steve »
Logged

johnar

  • Hero Member
  • *****
  • Posts: 1032
  • Make it, Move it--Give it Life
    • View Profile
    • youtube vids
Re: Bone as a Parent to another Element
« Reply #13 on: March 09, 2021, 03:37:32 am »

 Good one. Thanks steve.
Logged
%

Michel Colaço

  • Newbie
  • *
  • Posts: 32
  • just a simple animator, trying to make my way
    • View Profile
Re: Bone as a Parent to another Element
« Reply #14 on: March 11, 2021, 11:21:15 am »

I would like to thank you for this addition Steve! I had already thought about asking for it, but I ended up forgetting it. For me, this addition is very useful, especially to facilitate eye animation.

« Last Edit: March 11, 2021, 11:22:15 am by Michel Colaço »
Logged
M
Pages: [1] 2 3