Shia LaBeouf claims he took acid to prepare for his role in 'The Necessary Death of Charlie Countryman'.

The 26-year-old actor took the hallucinogen for 24 hours in order to get into character and deliver a realistic portrayal of the experience for a scene in Fredrik Bond's edgy gangster movie.

Shia told USA Today: ''There's a way to do an acid trip like 'Harold & Kumar', and there's a way to be on acid.

''What I know of acting, Sean Penn actually strapped up to that (electric) chair in 'Dead Man Walking'. These are the guys that I look up to.''

The Method actor also drank real moonshine to portray a boozy bootlegger in Prohibition-era crime drama 'Lawless', even though he gave up drinking years ago.

Director John Hillcoat explained: ''It's not quite method acting'', but it's ''method-like.''

The 'Transformers' star is now set to engage in real sex in his Lars Von Trier's controversial upcoming film, 'Nymphomaniac', but says he draws the line at full-frontal nudity and will be using a body double for some the raunchier scenes.

Shia said: ''There are rules. I have ethics, I'm not completely out of my mind.

''But I don't think there's anything wrong with sex. Sex is beautiful if it's done right.

''And I wouldn't just do it for no reason. Sex is different than love, and there is a separation, and that middle gap is what the movie's about.''