Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Can't attach new mouselook

Discussion in 'Unity 5 Pre-order Beta' started by sramsay, Feb 28, 2015.

  1. sramsay

    sramsay

    Joined:
    Dec 25, 2014
    Posts:
    3
    With 4, I had a set up where the first person controller from Standard Assets had two cameras attached to it: one as a main camera, and another (with exactly the same transform) that was exclusively for held objects. This latter camera had its own layer, and it was basically just to make sure that whatever object was held remained in the foreground, so it didn't go through objects or interfere with them. A pretty common trick.

    The problem I'm having now, is that the MouseLook script (unlike the three others attached to the stock FPC) doesn't extend MonoBehaviour, and so I can't attach it to that second camera.

    So my question is this: Is this a minor bug in the new FPC, or am I supposed to be handling this situation differently?