Skip to content

New extension: <AdvancedThirdPersonCamera> #2252

Description

@CrowbarCoder

Description

This extension contains normal third person camera but with the extra bonus of obstacle detection using 3D raycasting to make sure the camera does not clip into objects. This is very useful for literally any third-person game.

How to use the extension

This extension consists of one function action which has several parameters to tweak the camera position.
Simply add the 'Look at Position with Camera' action in the editor, and enter the X,Y, and Z positions you want the camera to look at, as well as the other parameters (default values are given).
It is helpful also to create an object group of all the objects you do not want the camera to clip through.

Checklist

  • I've followed all of the best practices.
  • I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

AI usage

  • I used an AI to generate some part of the code.
  • I don't understand the generated code or I don't feel able to modify it.

Example file

ThirdPersonCameraObstacleDetectionExample.zip

Extension file

AdvancedThirdPersonCamera.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions