I am participating in the nuggets Community game creative submission Contest. For details, please see: Game Creative Submission Contest

preface

In my last article, I took a look at how to do Android development in UE4. Today, I’m going to talk about how to add a character to a UE4 scene.

steps

This article doesn’t cover code, so it seems relatively simple, so without further ado, here we go.

Create a subclass of Character

In the UE4 editor, open file – new C++ class.

Select Character, and I’ll name this subclass that inherits from Character: Hero.

Once created, your VS project will have two more files, hero.h and hero.cpp, which I will explain in the next article.

Import the resource

UE4 mall provides a lot of free resources for beginners to use, so I plan to use its free resources in today’s article, open Epic Launcher or the web version of Epic Mall, and then search the Animation Starter Pack.

Then add the downloaded resources to the project you want to import.

Once imported, you will have an additional resource, the AnimStarterPack, in your project.

Create the blueprint class for the role

In the UE4 editor, open the Window-Developer Tools-class Viewer to create the blueprint Class.

Search for the Hero class I created above, then right-click to create the blueprint class BP_Hero.

Add Mesh and animation

Select Mesh in the BP_Hero blueprint class.

Then find the Mesh in the Skeletal Mesh on the right and select SK_Mannequin from the Skeletal Mesh.

In the Animation TAB, select UE4ASP_HeroTPP_AnimBlueprint.

run

Drag BP_Hero into our scene.

Run, and our character appears in the scene.

The last

At this point I’m done putting the character into the scene, isn’t it? In the next article, I’ll show you how to use code to make the character run in our scene.

I am Jie Shao, if you think my writing is good, then please give me a thumbs-up + comments + favorites before leaving oh!

Previous articles:

  • UE4: Android Platform development practice Guide
  • UE4 Development Pit Avoidance Guide (continuously updated)
  • It’s time to start the New Year. Let’s celebrate with a little fireworks
  • Love and Hate with Apple auditors
  • Love and Hate with Apple auditors (Part 1)
  • A common tool of 2021 | 2021 year-end summary
  • Binary tree brush summary: binary search tree properties
  • Binary tree summary: binary tree properties
  • Binary tree summary: binary tree modification and construction
  • StoreKit2 smells this good? Yeah, I tried it. It smells good
  • After reading this article, I am no longer afraid of being asked how to construct a binary tree.
  • The game guys are trying to get people to pay again. That’s bad!
  • Take you rolled a netease holding cloud music home | adapter
  • NetEase Cloud Music Home Page (3)
  • NetEase Cloud Music Home Page (2)
  • NetEase Cloud Music Home Page (a)
  • Does the code need comments? Write and you lose
  • I would not study in Codable for a long time. They are for fun
  • IOS handles web data gracefully. Do you really? Why don’t you read this one
  • UICollectionView custom layout! This one is enough

Please drink a cup ☕️ + attention oh ~

  1. After reading, remember to give me a thumbs-up oh, there is 👍 power
  2. Follow the public number – HelloWorld Jie Shao, the first time push new posture

Finally, creation is not easy, if it is helpful to you, I hope you can praise and support, what questions can also be discussed in the comments section 😄 ~ **