Zum Inhalt wechseln

Foto

Crusthook (attaching drinking cup/mug to actors hand)


  • Bitte melde dich an um zu Antworten
8 Antworten in diesem Thema

#1
luna1124

luna1124
  • Members
  • 7.649 Beiträge

Is there a trick to making this work better than I have it? I have cups attached to the hands of 2 actors. When viewed in game, the cups are sideways or upside down or embedded in the hand. Do I have to follow the drinking animation and key-in the mug correct position for every frame?

 

Thank you :)


  • MerAnne gefällt das

#2
DahliaLynn

DahliaLynn
  • Members
  • 1.387 Beiträge

I'll try to answer from memory. When you have linked the cup to the hand crusthook, (link to actor in the timeline) you would need to enable the cup prop to utilize an offset in the object inspector. (When you do this the cup will still be linked to the actor's node, however it will reposition to 0,0,0, in the area.) You will then need to move it back to the exact position you would like it to be relative to the hand, then key it accordingly. It will then move along with the hand animation. You can also cause the cup to move relative to the hand by adding additional position/rotation keys over time.


  • Yara C., MerAnne und luna1124 gefällt das

#3
luna1124

luna1124
  • Members
  • 7.649 Beiträge

Thank you,

I'll try this today. The cup does move with the hand, but in the wrong position. I'll play around with it. :)


  • MerAnne gefällt das

#4
DahliaLynn

DahliaLynn
  • Members
  • 1.387 Beiträge

What I posted above will solve your positioning problem ;) To clarify, you don't have to manually key every frame. Only one frame with the proper relative position to the hand.


  • MerAnne und luna1124 gefällt das

#5
Yara C.

Yara C.
  • Members
  • 240 Beiträge

The automatic repositioning of the linked actor to 0,0,0 in the area can be avoided if you use 'Add bracketing keys'.

This command will become available if the action 'link to' is selected. (main menu 'Edit' > Add bracketing keys')
'Add bracketing keys' will add simultaneously keys at the starting and end point of the link action which helps to avoid that the object´s position will be reset.

A dialogue window will open, offering two options with the following description:

---------------------------
Bracketing keys can be set up in 2 ways:

1. The object will initially be snapped to its link target.  For example, if you are attaching to a hand, the object will initially be in the hand.  This is probably the most intuitive starting point.

2. The object will start the link at the same place (in global co-ordinates) that it was.  For example, if an object is 3m from its target when the link action begins, the base location for the link will be 3m.  This option is useful if you have an object being passed around and you want to maintain its position in the world space as the link begins.


The bracketing keys just set up the baseline of where the object is.  Regardless of which choice you make you still have complete freedom to key the object wherever you want during the link action.  The choice you make here only sets the starting point, and is simply a matter of which is a more convenient starting point for you.


Do you want to use option 1, where the object starts snapped in place?  (Recommended if you don’t understand what this dialog is talking about).
---------------------------
Yes   No   Cancel
---------------------------

 

'Bracketing keys' are convenient to avoid the repositioning and option 2 can be rather useful under specific circumstances.


  • ladyofpayne, DahliaLynn, MerAnne und einem anderen gefällt das

#6
DahliaLynn

DahliaLynn
  • Members
  • 1.387 Beiträge

@Yara I recall way back your mentioning this! Unfortunately, the next time I needed to link objects I was so used to the 0,0,0 repositioning that this option completely slipped my mind. I guess I simply got used to doing things the "hard" way :P


  • luna1124 gefällt das

#7
Yara C.

Yara C.
  • Members
  • 240 Beiträge

@ Dahlia, you are not a menu user. That´s why :P


  • DahliaLynn und luna1124 gefällt das

#8
luna1124

luna1124
  • Members
  • 7.649 Beiträge

I seem to do everything the hard way also ^_^ . I am printing these replies now and will start on this after a quick shower. Thank you so much :)



#9
luna1124

luna1124
  • Members
  • 7.649 Beiträge

Thank you!!! :D It works great!!!


  • DahliaLynn, Yara C. und theskymoves gefällt das