Skip to content

Calculate3DVector #2179

Description

@mikhailgolubkov09-dot

Description

Calculate the X, Y, Z components of a 3D vector based on the vertical angle, horizontal angle, and length of the vector.

How to use the extension

Use the expression Vec3_X_() to calculate the X-component of a vector based on the horizontal angle(, vertical angle, and length of the vector.
Use the expression Vec3_Y_() to calculate the Y component of a vector based on the horizontal angle, vertical angle, and length of the vector.
Use the expression Vec3_Z_() to calculate the Z-component of a vector based on the horizontal angle, vertical angle, and length of the vector.

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

ThirdPersonCameraUsing3DVector.zip

Extension file

Calculate3DVector.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions