Jump to content

Option to Rotate an Entity in the Editor without affecting the Children.


beo6
 Share

Recommended Posts

I would like to Rotate an Entity (and possibly move?) an Entity without also rotating or moving child entities. This should be an optional thing because you probably want to rotate everything at once most of the time, but there are cases this is useful, for example in my Camera script where i might want to rotate the camera that has Pivot entities that define the path it takes.

Link to comment
Share on other sites

In that case, the children should probably not be children. You can select another entity in the scene in a component field:

{
    "component":
    {
        "properties":
        [
            {
                "name": "entityvalue",
                "label": "Entity",
                "value": null
            }
        ]
    }
}

This will give you a dialog that can select any entity in the scene:

image.png.5c684b17bbd38de50361552e420c84d5.png

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...