0 votes

In a case where you have 2 players and want the camera to be in the between, how do you set the position of the camera without getting the little lags of the process or fixed_process? Is there something like late_process which is executed after physics?

in Engine by (1,093 points)
edited by

1 Answer

0 votes
Best answer

Have you seen this post?

What is your camera currently parented to?

An option is to create a Node2D and put it below your player nodes in the scene tree. Parent the camera to this new Node. Have this node move to location between your players and also set the zoom, if needed.

by (389 points)
selected by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.