You can unlock Trunks as a playable character in Dragon Ball Z: Ultimate Tenkaichi for the PS3 and Xbox 360.
To unlock Trunks, you just need to beat Goku with Trunks at the beginning of the Android Saga in Story mode.
Check out my other guide if you’re looking for the complete list of unlockable characters in Dragon Ball Z: Ultimate Tenkaichi.