What the best practice for FPS camera?
Asked Answered
H

5

0

Hey, i'm just interesting what the best FPS camera style in godot?
Currently i'm using the way where camera in the "camera_mount":

But it looks weird because i can see my character's head (or body) from inside..
My full Scene tree here:

So my question is about how to make the body (or head) invisible to my camera?
Also what the best way to place arm with gun separately? (asking because what if i need to change my character skin, then i need to change my arm skin too..)

My current scene:

And the view i see when i look a bit down (you can see the character body parts):

upd. Ok just got how to hide character with camera's cull mask.

But how about making arm and gun separately, but that way so i can apply a new skin to them the same way as to the character?
If for example i want to see my weapon on my camera (actually separate object) and i want so other players see my weapon in my arms (the weapon that connected using bone of my character arm), is there will be 2 same weapons?

So i'm just finding the best way to do super basic FPS view.
Please tell me about your experience if you have some.

Haile answered 4/12, 2023 at 18:39 Comment(0)
O
0

Haile The arm seen from first person perspective and character seen by other player should be two separate setups.

Odilo answered 4/12, 2023 at 19:54 Comment(0)
H
0

Odilo I was hoping that somehow I could use only one. But anyway.
I have a related question, is that possible to rotate head / body / arms to the aim point?
So for example, if i look to the sky, my body with head will change their rotation value.
Even if i running at the moment, my character legs will play the animation but body and the head will look to the cursor.

Haile answered 4/12, 2023 at 20:2 Comment(0)
O
0

Haile is that possible to rotate head / body / arms to the aim point?

Sure. Why wouldn't it be. You can rotate it anyway you wish.

Odilo answered 4/12, 2023 at 20:4 Comment(0)
H
0

Odilo Ok, great, but i would like to know about animations subtleties.
I need to make it as separate animation parts, like for legs, body, hands?
Or what is the best way to make it?

Haile answered 4/12, 2023 at 20:9 Comment(0)
O
0

Haile Depends on your character rig.

Odilo answered 4/12, 2023 at 20:19 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.