Resonite-Issues icon indicating copy to clipboard operation
Resonite-Issues copied to clipboard

Allow for direct manipulation of transform matrices of slots

Open amplified1 opened this issue 7 months ago • 1 comments

Is your feature request related to a problem? Please describe.

Right now you can only manipulate position, rotation, and scale individually, but many engines expose the underlying transform matrix, allowing for more advanced transformations and operations, such as skews. The set TRS node does not behave how you would expect from other engines with matrix values that can't be recreated by standard translation, rotation, and scaling.

Describe the solution you'd like

Expose the transform matrix as a field that can be driven and read directly.

Describe alternatives you've considered

Add a skew field to slots, making all transformations that should be possible with a single transform matrix possible, although in a more abstracted manner, if anything it would be nice to have this in addition to what is being asked for above.

Additional Context

These kinds of transformations are still possible through slot parents and non-uniform scaling, so I don't see any reason to not allow them to be set directly by advanced users.

Requesters

@amplified3d @scrapsavage

amplified1 avatar May 23 '25 00:05 amplified1

I don't think this is something we can really offer, because this isn't supported in the underlying engine. We don't support native skewed matrices - the system assumes rigid transformations for a lot of things.

The underlying transform is modeled as position, rotation and scale, not as a matrix - those are only computed for transformation purposes, but you can't put an arbitrary matrix there.

I would probably look at what the underlying thing you want to do this is - there might be alternative approaches.

Frooxius avatar May 23 '25 20:05 Frooxius