Main Content

vrrotvec2sim3d

Convert rotation from axis-angle to Euler angle

Since R2025a

    vrrotvec will be removed in a future release.

    Description

    e = vrrotvec2sim3d(r) converts the axis-angle rotation r to a real 1-by-3 vector in the Unreal Engine® coordinate system.

    Input Arguments

    collapse all

    Axis-angle rotation, specified as a vector.

    Output Arguments

    collapse all

    Euler angle, returned as a real 1-by-3 vector for use in sim3d classes and Simulation 3D blocks.

    Version History

    Introduced in R2025a

    collapse all