I wanted to setup whenever my character enter a vehicle they are positioned in the driver seat, how does work in terms scripting and hierarchy?
There are a lot of ways to approach this. Here’s a basic one:
When your character is going to enter the vehicle, get the Transform.position of the seat in the car. Then set your Character’s Transform.position = the vehicle’s. Then just have the appropriate animation / state take place when your character is positioned on the seat.
You’ll want to play around with the values a little to make sure it looks right. It’ll also vary depending on 1st person / 3rd person as to where exactly you’ll want the character positioned.
Best of luck~