Camera only views objects that are children of the Camera's Parent

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Millard

I’m trying to test whether my 3d character is moving, but this is impossible when the camera has to be parented to the kinematic body in order to view the kinematic body’s mesh, and doesn’t pick up any objects that aren’t parented to the kinematic body. What’s going on?

Here’s my scene tree:

SpatialNode
…KinematicBody (player)
…CSGbox (player’s representation)
…CollisionShape (player’s collision)
…Camera
…CollisionShape (ground)

Could you please show us how your scene tree is set up?

Ertain | 2019-11-09 19:23

Ok, I added the scene tree to the question. the periods are there to represent the parenting.

Millard | 2019-11-09 20:40

With the camera active (i.e. the Camera is set as “Current” in the Inspector), it should display the mesh. In fact, I have a set up similar to that for one of my projects.

Ertain | 2019-11-09 22:02

alright i tried that, and I even tried it with a new camera, but It still doesn’t work. All I’ve done is added a camera and set it to current. Is there something else I’m supposed to do?

Millard | 2019-11-09 23:30

Oh, it was the field of view (FOV) setting. I guess the current check box worked, but I set the field of view to to far. thanks. :slight_smile:

Millard | 2019-11-09 23:32

Scratch that. It works in the camera preview mode, but not when the game is running. ???

Millard | 2019-11-09 23:33