Skip to content

2. Setup a robot

HoangGiang93 edited this page Apr 20, 2022 · 2 revisions

Setup a robot

1. Import a robot from FBX Format using urdf_importer

  • Suppose you already have a robot in FBX Format with textures, click on Import, search for the .fbx file and click Open
  • Tick on Skeletal Mesh, untick on Create Physics Asset, leave everything else as default and hit Import All

2. Create robot anim to control the bone position

  • Right click on the Content Browser / Content Drawer, choose Animation -> Animation Blueprint
  • Choose the correct Skeleton and Parent Class: RoboAnim then hit Create
  • Rename the created Animation Blueprint as your choice and open it
  • In AnimGraph right click in the graph, search for Get Joint Positions and Modify Bones
  • Connect the nodes as follows and hit Compile and Save

3. Use the robot anim

  • Drag the skeletal mesh of the robot from Content Browser / Content Drawer to the Viewport, select in Anim Class the correct Animation Blueprint