Sonic Free Riders was not released on PlayStation 3. It launched in 2010 as a Kinect-exclusive title for Xbox 360 — requiring the Kinect sensor for full-body motion controls. You may be confusing it with:
If you played a Sonic racer on PS3, it was almost certainly Sonic & Sega All-Stars Racing.