defold-scene3d icon indicating copy to clipboard operation
defold-scene3d copied to clipboard

Make follow camera avoid obstacles?

Open subsoap opened this issue 3 years ago • 2 comments

Follow camera does not currently avoid obstacles.

Follow camera could raycast to the player and try to avoid obstacles between it and the player in a smart way.

subsoap avatar Feb 14 '22 10:02 subsoap

Yes, now the included camera following script is basic, and there is room for improvements.

The camera is an essential part of any game, i.e. camera movement and camera follow can make a massive difference to the player's experience.

Firstly, let's collect good implementations for inspiration:

aglitchman avatar Feb 14 '22 18:02 aglitchman

Then #5 is related and the issue should be improving the cameras in general.

subsoap avatar Feb 15 '22 01:02 subsoap