Hello dear friends,
I have a small issue and I hope that you could help me. I would like to know how to make object appear on the top side of the screen, after it felt bellow some boundary at the bottom. Right now my idea is:
if (transform.localPosition.y < transitionY)
{
}
I know i could simply translate object up after it felt bellow specified boundary, but then object will loose all gained acceleration (I forgot to mention that object constantly moves gaining acceleration over time).
As well as that I would like to know how to achieve such effect: When part of object falls through the bottom boundary, that part appears on the top of the screen (and vice verse).
As always, thanks for your help.