Search Unity

Dual rendering?

Discussion in 'Scripting' started by Deleted User, Jun 4, 2011.

  1. Deleted User

    Deleted User

    Guest

    Hello. How can I render an object in two places at once(as in, 60 percent of the object is in one place and 40 percent is in another)? That may sound strange, but in my game, I have a fixed camera and I want to be able to have objects loop around the screen. I have tried faking this effect by moving the object when it hits a trigger that is just off the screen or instantiating an object of the same type on the other side of the screen, and those work reasonably well, but there are some problems. I am wondering if I dont have to fake it and I can have an object be split up. Thanks
     
  2. Moonjump

    Moonjump

    Joined:
    Apr 15, 2010
    Posts:
    2,572
    Have extra cameras that have viewing areas that touch but do not overlap the main camera. All cameras are displayed in the same position. Once an object is completely in one of these extra cameras, you move it to the same position in the main camera view.

    This will be a lot easier if the camera is Orthographic.