Skip to content

[feat] TransformControl has a label showing it’s transform vector #434

Open
@luckystriike22

Description

Description

Currently, I am working on a project where I use TransformControl extensively to easily determine an object’s position. I can use console logs or TresLeches to show the current position, rotation, or scale of the object. Wouldn’t it be nice to have an optional reactive label displayed with the current mode value? When transform is the mode, it shows the Vector3 for the object’s position.

Features:

  • A prop to enable a label showing the Vector3 for current mode (scale, position, rotation) or all at once.
  • When you shift + click the label, it copies the vector value to your clipboard.
  • Not sure yet where it should show, either at the bottom left corner or as an HTML component at the object’s center.

I have already made a small demo and can continue upon receiving the green light. ✅

no_rotate.mov

Suggested solution

Features:

  • A prop to enable a label showing the Vector3 for current mode (scale, position, rotation) or all at once.
  • When you shift + click the label, it copies the vector value to your clipboard.
  • Not sure yet where it should show, either at the bottom left corner or as an HTML component at the object’s center.

Alternative

No response

Additional context

No response

Validations

Activity

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

Metadata

Assignees

No one assigned

    Labels

    experimentalExperimental featurefeatureNew feature or requestp2-nice-to-haveNot breaking anything but nice to have (priority)

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions