|
Post by codeassembler on Feb 16, 2017 1:56:14 GMT
Hi all,
Hope all is great with your projects! Quick question, what is be the best method in order to disable the auto-zoom feature of the v3rdPersonCamera?
The auto-zoom that gets triggered when the character is occluded by a wall for example?
Thanks in advanced!
- Luis
|
|
|
Post by codeassembler on Feb 16, 2017 8:12:16 GMT
LoL This forums seems to be a little dead? Anyhow, just sharing what I found. If you change the Culling Layer from 'Default' to Nothing, you deactivate the culling (auto-zoom) of the camera. I haven't got to check how lame in terms of performance this ends up being or the like, but it just works (besides de Inspector warning of "Please Assign Default..."). However, I must tell that this disables the culling entirely, e. g. the camera no longer avoids geometry that's on its way. In my particular case however, that I'm working a SideScroller 2.5D it works like a charm However, I opted for an even lazier and cool solution for the time being (I did rotated the camera view just a little tiny bit, enough to keep the player always visible so the culling don't get triggered. If I get stuck with this solution I'll then keep delving into deeper hacks but for now I'll consider it solved.
|
|
|
Post by Invector on Feb 16, 2017 13:13:24 GMT
For 2.5D, Isometric or Topdown gameplay style you can simple disable the culling feature which is exactly what you did, and what we did on those demo scenes
|
|
|
Post by codeassembler on Feb 18, 2017 6:04:20 GMT
Alright! Thanks for confirming!
- Luis
|
|