CALIPERS FOR CAR RIG in Unreal Engine 5

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
we all know what prey calipers and cars are made for but when you try to rig them on 3D model and animate them you're absolutely certain that they were created only for one purpose to make you suffer this flimsy spinny things never behave as you expect them to but this will happen no more welcome back to my channel and in today's video we are going to fix brake calipers in car rig once and for all you guys wrote multiple comments on my previous video asking how to make calipers work so I decided to explain how to rig and Implement them into the control rig in Unreal Engine make sure to watch this video till the end in order to everything work properly we will start with importing model to blender and adding additional bones to calipers I will be using the same Ford Mustang Model I used in previous videos which is already rigged you can download this model by Link in description first thing you need to do after opening blender is to set up unit scale as blender uses meters and unreal uses centimeters we need to set scale multiplied to 0.01 and increase view distance so we can see the car after input now click file import fbx and choose Mustang Model you downloaded or your model that you have already rigged important notice I used the UE vehicle addon to rig this car and to make things simpler you can use the same add-on to follow my workflow but it works also for any other type of rig cars unfortunately calipers in my model are placed under body structure so I need to get them out and parent to Armature expand Armature and select all rotors calipers or brakes depending on the naming if you are using different model in my case they called rotors for some reason Holden shipped drag all of them to the Armature as parenting was changed calipers may change its position but we can quickly fix it first select caliper and while holding shift select the related will after that press shift s and choose selection to active do this for all of the wheels and check that the calipers are placed properly [Music] caliper should have the same origin as a will check it by selecting and rotating around the brake rotor if origin is not correct you can use will as the origin select your wheel now press shift s and choose cursor to select it it will put cursor in the center of the wheel now choose your caliper right click and set origin set origin to 3D closer now your caliper has the same origin as you will check other calipers if they are placed properly if not adjust them so they look good [Music] great we're done with placement and structure now let's modify bones select your Armature and click tab to get into the edit mode then select wheel bone I will start from the left one click shift plus d to duplicate the bone you will see that bone is duplicated if you move Mouse a bit right click to snap duplicated bone on the same place as the original wheel bone let's name this caliper bone CFL which will stand for caliper front wheel now go there and expand relations tab set parent bone to FL so it will be on the front left wheel structure I do that for the reason of more clean controls in the control rig in Unreal Engine when I input the model so I will need only to steer the wheel bone and the caliper will follow automatically do this for all other Wheels duplicate bones and assign parent bone of the corresponding wheel [Music] after that we need to assign all calipers to Armature switch back to object mode by pressing tab on keyboard select caliper and add modifier called Armature and select active Armature do this for all of the calipers [Music] foreign [Music] vertex groups to our calipers vertex groups basically are telling which geometry should bone effect select caliper and switch to edit mode Again by pressing tab on your keyboard select object data properties tab foreign to add a Vertex group now it's very important so pay attention name vertex group this same as your corresponding bone for front left caliper I named bone CFL so I name a Vertex group CFL make sure all of the geometry for your calipers is still selected and click assign switch back to object mode select next caliper and repeat the process create new vertex group name it and assign [Music] again [Music] that's it we are done with the rigging it may seem complex but it's quite simple as you see now let's prepare our model and Export that for Unreal Engine make sure your car is facing X front axis and z-axis up hit a button on your keyboard to select all components click file export fbx in object types select Armature mesh and the other tick checkbox selected objects set forward access to x and z up expand geometry Tab and select smoothing faces disable add-leaf bones for Armature give your file a name also uncheck back animation and hit export let's switch to Unreal Engine and import our model also don't forget to subscribe to my channel if you haven't done that yet and also slap that like button if you enjoying my videos that really motivates me to create new tutorials and breakdowns now back to the tutorial first create new folder for this model if you had any car skeletal meshes before an import new model there it's very important as unreal can bug and use currently present skeleton for your new model without importing the new skeleton and in that case our new model will not work as it won't have bones we've just created after input I'm chicken skeleton that it works as intended all good now create control rig by right clicking on skeletal mesh I will copy all of the controls from my control rig I created from previous video you can watch it by clicking here and top right corner or following by the link in the description there I've explained in details how to create control rig for car and now I will just migrate all of it to my new model just copy paste is enough connect forward solve and all shall be working let's add Shader to our calipers so we can see them better I use free Automotive material pack for this purpose [Music] now let's check the steering works perfect but with wheel rotation there is one trick if I go to wheel rotation controller and accelerate a bit we will see that caliper is spinning together with the wheel oh no anyway as I said there is one simple trick navigate to wheel rotation graph and uncheck propagate to children from all four wheels now it's all set and you're ready for animations finally your brake calipers are tamed and working as intended this is it for today thanks for watching and see you in the next one
Info
Channel: Post Processed
Views: 11,939
Rating: undefined out of 5
Keywords: unreal engine 5, unreal engine 5 short film, unreal engine 5 matrix, car crash test, unreal engine short film, car animation, Unreal car, unreal car animation, car rig, unreal car rig, production pipeline, post processed, unreal engine animation, vehicle animation, unreal engine cinematic, car cinematic, unreal engine car render, path tracing, how to animate cars, car animation in unreal, car brakes, calipers, rig brakes, rig calipers, blender car rig, blender
Id: zlMAEfDvJUg
Channel Id: undefined
Length: 9min 15sec (555 seconds)
Published: Sun May 28 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.