Kate Hudson didn't hone her flawless body overnight.

The 37-year-old actress covers Shape magazine's June issue and shows off her slim physique in a variety of sexy swimsuits for the accompanying photo shoot, revealing how she maintains her famous figure. It turns out Hudson already found the fitness program that works for her when she was only in her teens.

"I was 19 when I discovered Pilates, and I'm still doing it," she shares. "It's the workout my body really responds to. It’s all about alignment, elongating your spine, and strengthening your core. It makes me feel my strongest."

PICS: Hollywood's Hottest Bikini Bods

As it turns out, she's actually been pushing her body to be the best that it can be since she was a toddler, thanks to her mother, actress Goldie Hawn.

"I was three years old when my mom enrolled me in dance class, and I practiced intensely until I was about 14," Hudson says. "I was not a big fan of ballet, but she made me do it. Now I’m so grateful that she didn’t allow me to quit. It was the best thing she could have done for me. In dance, you’re constantly competing with yourself, and you’re only as good as your practice. It taught me discipline."

Hawn also passed down a healthy appreciation for food.

"My mom has always been healthy, but she's not a health nut," Hudson explains. "I’m the same way. I absolutely believe in enjoying my food, especially when I travel. I don’t eat a lot of meat when I’m home, but I can’t be in Germany and not eat the bratwurst. I just love it so much."

"Enjoying good food is a huge part of being healthy and happy," she adds. "When I was growing up, everybody came to our place for dinner on Sundays. It was a joyful house. Food was very important; there was always something good cooking. Mom went to India a lot in the seventies, so she made curries and dal. She cooks Southern food too -- her dad was from Arkansas. She makes a mean biscuits and gravy and chicken and dumplings."

Of course, if you want to indulge from time to time, exercise is a must. Though, according to the "Mother's Day" actress, a strict workout routine isn't for her.

"Some people need structure and a regimen, but I’m not a planner," she admits. "When I exercise, I need to connect to myself and see how I’m feeling at the moment, because my mood is constantly changing.”

"I'm a nature girl," she adds. "I grew up in Colorado and was always outside. I still am, even when I'm in the city. If I’m in Amsterdam, I get on a bike, ride everywhere, and really see the place. I love that freedom, which you can't get in a car. In New York City, if I’m staying downtown and have a meeting uptown, I'll put on my earphones, listen to great music, and just walk. There’s nothing better than walking in Manhattan."

Hudson is not ashamed to admit her killer bod takes a whole lot of effort.

"I love my shape because I work really hard at it," the mother-of-two stresses. "I honor my body by working out and seeing what it can do."

Hudson has talked about her love for Pilates before, swearing by the challenging form of exercise when she talked to Self magazine in February.

"Nothing, literally nothing, makes me feel like I'm back to my body more than Pilates," she noted. "I'll travel, and I'll go for a run or I'll spin. But when I go home and get on the reformer or the Cadillac, my body immediately goes back. I can see an instant shift."

She also opened up about her largely vegetarian lifestyle. Hudson said she aims for five small meals a day, sticking to unprocessed and plant-based foods. After breakfast, she usually has a post-workout protein shake, a salad for lunch, and a late-afternoon snack before dinner.

"I've pretty much cut meat out," Kate revealed at the time. "I don't remember the last time I ate a steak."

WATCH: Kate Hudson Got Sexy, Shirtless Male Dancers as Her 37th Birthday Present