How would I do this???

I have a 3rd person character with animations. I am making it so when he picks up a weapon he goes into first person. I don’t want to move the camera because the animations mess it up. I have 1st person models with weapons. I want it to switch the 3rd person and 1st person out to make it “switch”. How would I do this switch?

Help me! :frowning:

Are you talking about the animations not moving the camera around or the camera being in the same spot when the switch takes place? I am confused…

The 1st person and 3rd person have their own cameras I just want to have it so when you pick up the weapon the 1st person goes to the spot where the 3rd person is and the 3rd person model moves out of side and the cam gets disabled.

I’d make sure that both the FPS and TPS models/players are in the exact same position under a parent object, then have a script on the parent that handles the picking up weapon and just enable/disable them.

E.g. if you start off in Third Person, have the First Person disabled (Have the Cameras child objects of the models), then when you pickup a weapon or even in your equip code just disable the Third Person and enable the First Person.

2 Likes

Yes! What @JakeBilbe said…

But you also might want to further make it so they share the same camera, with different settings (position, FOV, etc.), and then have a script that tweens rapidly between them when you pick up or release a weapon, so that it isn’t so jarring to the player.

Ill try that @JakeBilbe but one moves with a mouse and one with arrow keys so rotation will be hard!

You could redesign the look so they both use the same control input? You could even go a step further and have one script and one camera, then lerp the position to set points for third person and first person.