Search Unity

Perspective issue (beginner)

Discussion in 'Editor & General Support' started by ikejones, Nov 1, 2014.

  1. ikejones

    ikejones

    Joined:
    Oct 29, 2014
    Posts:
    1
    Hi I just started using Unity and have stumbled upon an issue when trying to make a card game. Any help would be appreciated


    I have 1 Main Camera and 2 Planes

    My main camera is:
    Position= 0,0,-15
    Rotation = 0,0,0
    Scale = 1,1,1


    Plane 1 is the surface image being played on:
    Position= 4,12,100
    Rotation = 90,180,0
    Scale = 20,0,11

    Plane 2 is a card on the table. I want to place it on the bottom left(x,y) of the plane 1 but in front of the camera (z)

    Plane 2 is set like follows:
    Position= 0,0,95
    Rotation = 90,180,0
    Scale = 2.2, 0, 3

    When I try to move the card and align it on the play surface, I get weird behavior.
    The Default x position (0) card is centered on the scene. No problem.
    When I set the card to position -30, the card moves to the left like it should. But when I put in -40, the card disappears behind the playing surface (Plane 1) in the Game View yet in the scene view it still looks like the card is in front of the camera. This is my first experience with unity and 3D gaming, what is going on here and how can I remedy this?

    Thanks
     
  2. wizardious

    wizardious

    Joined:
    Dec 31, 2009
    Posts:
    189
    not sure maybe this?