Use animated car in Unreal Engine 4

Got questions, comments and/or feedback regarding Craft Director Studio? Post them here.
Post Reply
mratashi7
Posts: 2
Joined: Tue Jan 21, 2020 11:34 am

Use animated car in Unreal Engine 4

Post by mratashi7 » Tue Jan 21, 2020 11:48 am

Hey everyone
Can anyone help and guid me through the process of importing an animated car to UE4 (Unreal Engine 4)?
Has anybody ever done it?
I did it as Alembic cache and FBX but since the objects are parented the movement doesen't transfer properly.
Thank you

Patrik Martin
Partner
Posts: 321
Joined: Mon Feb 25, 2008 1:07 pm
Location: Gothenburg, Sweden
Contact:

Re: Use animated car in Unreal Engine 4

Post by Patrik Martin » Thu Jan 23, 2020 3:03 pm

For game export in mind it is better to use constraints for position (translation) and orientation (rotation) instead of making the parts children of the rig. Group all high-poly parts that are to be one animation, once grouped make your animation in Maya or 3ds MAX.

Structure:
Image

To export from Maya or 3ds MAX:
  1. Select the high-poly model group and go to Game Exporter.
    Maya: File -> Game Exporter
    Image

    3ds Max: File -> Export -> Game Exporter
    Image
  2. In the Game Exporter go to the Animation Clips tab
  3. In the Animation Clips add a Clip, give it a name and set it to the frames you like to get exported for the rig.
  4. Make sure that Bake Animation is checked
  5. Select a path and Filename and hit Export
    Maya:
    Image

    3ds Max
    Image
Importing in to Unreal Engine 4
  1. Once you have exported go to UE4 and create folder where you would like for the animation to be placed drag and drop the exported FBX file in to the folder created.
  2. In the FBX Import Options window make sure to check "Import Animations".
  3. Hit import and the animation should be in and usable.
    Image
    Done
Partner
http://www.craftanimations.com
patrik.martin-at-craftanimations.com

mratashi7
Posts: 2
Joined: Tue Jan 21, 2020 11:34 am

Re: Use animated car in Unreal Engine 4

Post by mratashi7 » Sun Jan 26, 2020 9:09 pm

Thanks, I also found another method, before getting a fbx export from Maya, I freeze the transportation and orientation of high poly models, in a way that everything changes to zeros in channel box.
This causes the fbx to move properly in UE4. Then in UE4 use hidden material for low poly (Craft objects) models.
That's it.

About tutorial, I really hope this happens soon, because UE4 is getting a lot of attention recently.

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests