Thanks Kalle, I actually think I found a way to do it.
I created a composition with 5 solids that have the Grid effect applied to them. I applied the 3D effect to the solids and arranged them into a cube shape. I then added this Cube Comp to my main composition, made the Cube Comp 3D and then selected the Collapse Transformation (Sun Icon). I didn’t know this existed so that’s where I was getting caught out! Now I can scale the Cube Comp on the Z axis to give it the perspective/depth effect.