hello,
my question is very simple, how can I fix a object inside the camera area.
a nice sample of what I need is starfox, I can’t move the arwing outside the camera area
all the best!
hello,
my question is very simple, how can I fix a object inside the camera area.
a nice sample of what I need is starfox, I can’t move the arwing outside the camera area
all the best!
hmm make your point clear, U need this in 2d or 3D???
3D, what I like to do is something like starfox…
anyone have some idea?! I still didn´t found a good way :-/
If I understand the question, make invisible colliders children of the camera. They will stop objects trying to leave the camera view.
You mean the ship never leaves the camera view?
rab236, I’m working with it, but I’m with some problems in diferents aspect ratios (4:3, 16:9, 16:10).
renman3000, yes, if you check starfox, rtype, galaga the player ship never leaves the camera area…
I think I found something with ViewportToWorldPoint… I’ll post here the results later
I think the ship is just kind of on a path there and the player can sort of offset the position of the ship by a limited amount. So maybe you could have some empty gameobject serving as a guide, and make the ship a child of that, setting the local location according to the player input.