Skip to content

Please add a way to update the ITransformer and PositionConstraints at runtime #3

@marcusx2

Description

@marcusx2

There is currently no way to change the ITransformer being used by a grabbable at runtime. Here is the use case: I have a key, which the user can grab and move, rotate as he wants. Once I place the key in a keyhole, I want to use OneGrabRotateTransformer instead of the GrabFreeTransformer, so the user can only rotate the key now.

I tried the InjectOptionalOneGrabTransformer method from the grabbable. It doesn't work. None of the "Inject" blabla works. Even in the GrabFreeTransformer itself, I can't update the constraints using InjectOptionalPositionConstraints for example.

Please, is there a way to do this at all?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions