build car game with 3d model

I want to animate car parts with some events for example keyboard keys.
Means I want to make a car game. How can do this?
For example, open the door or rotate every wheel alone.

When I press the “D” key the car door closes.

Everything in a three.js scene is an Object3D. For instance, your car body.

You then add the wheels, doors, etc as child parts of the car. In this way, as the car moves, the child parts move with it.

You can then rotate wheel parts or rotate doors at a hinge point to match how cars work in RL.

I recommend reading some basics on 3D game design.