Skip to content

Update gizmo scaling behaviour to match translation (ray cast) #488

@adriengivry

Description

@adriengivry

Problem this feature should fix

Scaling an object using the gizmo operates at a different magnitude than translation. This PR changed the translation gizmo to be ray-based, providing more accurate translations: #306

Expected solution

We should update the scaling behaviour in:

void OvEditor::Core::GizmoBehaviour::ApplyScale(const OvMaths::FMatrix4& p_viewMatrix, const OvMaths::FMatrix4& p_projectionMatrix, const OvMaths::FVector2& p_viewSize) const

to align it with the new translation behavior.

Screenshots

OvEditor_8kV8uHTU5B.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    EditorSomething relative with the editorGood First IssueAn easy issue for new contributorsQoLQuality of Life : Something that can improve users productivity

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions