- Home /
3D Character in a isometric 2D world
Hey guys! I am currently trying to figure out how to combine 3D assets with 2D Sprites. No Problem for Top down shooter, no problem for side scroller but when it comes to perspective stuff, things are getting weird!
I tried the following thing: ![alt text][1]
putting my sprite flat on the ground and let the character stand on it. then giving the character the layer "Character" and the Building the Layer "Building". Then I created 2 Cameras. One Isometric and one top down. The top down cam should be the one for the building so i set the culling mask to "Building" and the culling mask for the character cam to "Character". Both are Ortographic but the Caracter Cam have a different rotation. Then I assigned the Depth of "0" for both of them and tadaaaa... didnt worked out :/
Am i not able to mix 2 cameras together? has anyone tried this before and give me a hint how to do this? Thanks! [1]: /storage/temp/22059-problem.png
Answer by JimRoot · Feb 12, 2014 at 07:50 AM
You should assign a different depth value to each camera so the character camera renders second all the time, and make sure it doesn't clear the screen (probably depth-only is safest). There should be no problem mixing two cameras.
Your answer
Follow this Question
Related Questions
camera.layerCullDistances not working on gameobject with combinechildren 1 Answer
Shadows from culled objects 0 Answers
Camera is culling terrain detail objects regardless of settings 6 Answers
Image effects do not work when rendering with multiple cameras 0 Answers
How to make camera position relative to a specific target. 1 Answer