Hello Guest

Author Topic: Sprite disappear nearly out of camera range  (Read 3725 times)

Santalia

  • Newbie
  • *
  • Posts: 2
    • View Profile
Sprite disappear nearly out of camera range
« on: October 27, 2015, 06:08:19 am »
2D Toolkit ver. 2.5.1
Unity 3D ver. 5.0.1f1

I have a problem in foreground object that suddenly disappear from camera when it is nearly out of camera range
it only happens in foreground object, which order in layer is in positive number

Here is the video
1. Normal / not disappear
http://www.mediafire.com/watch/e7ia9nbww007yhu/asset%20normal.mp4

2. Disappear
http://www.mediafire.com/watch/5575lb037q7z6iq/asset_disappear.mp4

In the first video (normal), see the upper left stone object. The object stays there until it is out of camera range.
But in the second video (disappear), see the black chain object. The object is disappear from camera before it is out of camera range.
Both object is in positive number of order in layer.

Is there any solution for this problem?
Any help would be appreciate it
Thank you
« Last Edit: October 28, 2015, 03:42:46 am by Santalia »

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Sprite disappear nearly out of camera range
« Reply #1 on: November 03, 2015, 01:26:30 pm »
Hi, is that using a perspective camera?

Santalia

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Sprite disappear nearly out of camera range
« Reply #2 on: December 03, 2015, 03:29:47 pm »
sorry for very late reply
yes, I use perspective camera and I've already solved the problem the other day
It's because my assets order in layer is in positive number. When I set all my sprites and character in negative number order in layer, the problem solved.