Does anyone know how to do this? What I mean is filming something in real life, with a camera, like normal, but putting cartoon characters in the scene as well, so in the final edit, you'll see cartoon characters in a real life video, interacting with a real life person.

Basically, I mean like in Who Framed Roger Rabbit? that movie had cartoon characters edited into live action, so you had real life actors interacting with cartoons. However, the method used to do this in that movie is obsolete, but I know I've seen people do this, so can anyone tell me how to do it?

I tried Googling it, but I kept getting stuff about live action adaptations of animations for the most part, so I figured asking would be quicker.