Lumberyard
User Guide (Version 1.21)

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

Setting Up Actor Entities

After you set up your skinned meshes as actors, you can create your actor entities. You then parent the attachments to the main entity and line the attachments up to the primary actor.

To create actor entities

  1. From the Asset Browser, select and drag the main actor file and the attachment actor files into the viewport.

    
                        From the Asset Browser, drag the main actor
                            file and its attachment actor files into the viewport.

    Lumberyard automatically adds each file as its own actor component entity.

    
                        Drag each actor file to the viewport results in three separate actor
                            entities in the Entity Outliner.
  2. In the Entity Outliner, click and drag the attachment entities to the main entity; this parents the attachment actor entities to the main actor entity.

    
                        Parent the attachment entities by selecting and dragging them onto
                            the main actor entity in the
                            Entity Outliner.

    Note

    The attachments entities may not line up with the main entity. You'll fix this in the next step.

    Example

    
                            View the main actor entity and the attachment entities in the
                                viewport.
  3. To align the children with its parent, select a child (attachment) entity and then in the Entity Inspector, specify the Translate values to 0. Repeat for any other child entities.

    
                        Change the Translate values to 0 on each child
                            entity to line it up with the parent.

    The attachments now line up with the main actor entities.

    
                        Attachment entities lined up correctly with the main parent actor
                            entity.
  4. For each child entity, do the following:

    1. In the Actor component, for Attachment type, choose Skin attachment.

    2. For Target entity, click the picker icon and then select the primary actor to attach the skinned mesh (for example, the cowboyactor).

Your component entity setup is complete. When your primary actor animates, the additional skinned mesh attachments animate with the primary actor skeleton.