Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to look-at in model-space. #76082

Merged

Commits on May 24, 2023

  1. Add the ability to look-at in model-space.

    This is a much simpler attempt to solve the same problem as godotengine#76060, but without breaking any compatibility.
    
    * Adds a description of what model space is in the Vector3 enums (MODEL_* constants). This has the proper axes laid out for imported 3D assets.
    * Adds the option to `look_at` using model_space, which uses Vector3.MODEL_FRONT as forward vector.
    
    The attempt of this PR is to still break the assumption that there is a single direction of forward (which is not the case in Godot)
    and make it easier to understand where 3D models are facing, as well as orienting them via look_at.
    reduz authored and TokageItLab committed May 24, 2023
    Configuration menu
    Copy the full SHA
    5fdc123 View commit details
    Browse the repository at this point in the history