Kevin Bacon is to star in 'R.I.P.D.'.

The 'X-Men: First Class' actor is in talks to join the film - an adaptation of a Dark Horse graphic novel - alongside Jeff Bridges and Ryan Reynolds.

The movie follows Ryan's character, a recently-deceased policeman, who is assigned to a squad of officers in the spirit world known as the Rest In Peace Department.

Variety reports that Kevin would be playing the movie villain and although it is unclear where he fits into the film, it is believed he will play the man responsible for killing the cop.

'Red' filmmaker Robert Scwemtke will direct the movie, from a script penned by 'Clash of the Titans' writers Phil Hay and Matt Manfredi.

The film will start shooting in Boston this September.

Kevin - who can next be seen starring in 'Crazy, Stupid Love' alongside Julianne Moore, Ryan Gosling and Steve Carell - is currently filming 'Jayne Mansfield's Car'.

'R.I.P.D.' - also starring Jodie Foster - is currently scheduled for release in June 2013.