Skip to content

Group Follow 3D with single target uses follow_distance although auto_follow_distance is enabled #473

@namelessvoid

Description

@namelessvoid

Issue description

PhantomCamera version: 0.8.2.3

I'm working on a couch co-op 3D game where players can dynamically join and leave a session. I'm using a PhantomCamera3D with follow mode Group and auto_follow_distance enabled to have all players visible on a single screen. It is possible to have a session with only one player, too. However, with a single player only, the camera does not respect the auto_follow_distance_[min|max] settings but falls back to follow_distance - which is not configurable in the properties when auto_follow_distance is enabled.

My expectation as a user would be that either the auto_follow_distance_min is used in that case or that the follow_distance property is visible for configured, too. This would also need some documentation for both cases.

Steps to reproduce

Create a basic setup with a Group follow 3D camera. Set follow_distance to some value (e.g. 5). Now enable auto_follow_distance and set auto_follow_distance_min to some different value (e.g. 50). Add a single target to the follow_targets array.

Now when you run the scene, you see that the camera uses follow_distance of 5 instead of auto_follow_distance_min of 50.

(Optional) Minimal reproduction project

You can use the 3d_follow_group_example_scene from the example scenes and adjust it as described in "steps to reproduce".

Metadata

Metadata

Assignees

No one assigned

    Labels

    3DIssues concerning 3D scenesbugSomething isn't workingphantom cameraRelated to PhantomCamera nodes

    Projects

    Status

    ✅ Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions