you could even do it without a trigger box and instead use a raycast, check the distance to the car. If the distance is less than a couple of meters or units then show press e and if pressed, enter the car.
This is one of those mechanics we have wanted to do for some time.
Googling attachments in lua won't help too much as the code used is specific to skyline.
Since all attachments are is a simple position / orientation to the target entity. You can probably even use a similar code to the one i just wrote out for cosmo recently, and use the physics.setTriggerPosition() and physics.setTriggerOrientation() if you are using trigger boxes.
As for character animations of getting in / out a car, well i have never tried to do this yet lol

For the FPS, maybe just turn the actions off and reposition under the ground until you exit the vehicle which is when you would reengage the actions and set the position to the place where you exit the vehicle. All smoke and mirrors

@antON, i look forward to seeing some of your tests
