Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
135 stars 2 forks source link

Add 'Adjust Scale' Option to RawDataTool Component #1075

Open imotchi1214 opened 9 months ago

imotchi1214 commented 9 months ago

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

I am experiencing challenges with the automatic scale adjustment of the 'RawDataTool' component. It disrupts the intended realistic behavior of airsoft guns in the 'IMOX Shooting Range' world by altering the scale based on the avatar size, which is not desirable for the gameplay mechanics we've designed.

Describe the solution you'd like

I would like to propose the addition of a 'Adjust Scale' setting in the 'RawDataTool' component with a boolean value. The default should be set to True, maintaining the current behavior, with an option to set it to False, preventing any change in scale upon equipment.

Describe alternatives you've considered

As an alternative, I've attempted to manually calculate and adjust the 'GripPoseReference' scale to match the 'Tool Anchor' after equipping, which unfortunately resulted in unnatural behavior and imprecise scaling, not meeting our standards for realism.

Additional Context

The 'IMOX Shooting Range' world is designed with a high degree of fidelity to actual airsoft guns and their operation. This feature would greatly enhance user experience by allowing adjustments within the 'Turn off UI Edit Mode' for equipment positioning, thus eliminating the need for unnecessary workarounds.

World URL resrec:///U-imotchi0112-vr/R-be1cdc1d-e98b-4e53-b965-e6db69b558b8

epicEaston197 commented 9 months ago

I also think the folks at the meta movie would also really appreciate this

TisFoolish commented 9 months ago

A 'don't scale' option would simple just not have the tool change its current global scale when equipped, correct? Not ensure it's always scaled to 1,1,1 when equipped?

Frooxius commented 9 months ago

Why is adjusting of the scale an issue in this case?

The adjustment is done so the tool/item fits in the avatar's hand properly, regardless of their size. If we disable this, we won't be able to fit and position it in their hand.

epicEaston197 commented 9 months ago

I said before but the people who run the meta movie wanted the eye bots to be able to carry a gun but for it to not scale down I think this option is handy you can still do the position and rotation but not the scale

TisFoolish commented 9 months ago

I think in some instances that might be preferable. Some users might not want some tools to scale because they want the tool to feel small or large in their hand, other times you have a situation like OP's where the differences in scale creates unwanted unbalances in games.

imotchi1214 commented 9 months ago

The automatic scale adjustment feature of the 'RawDataTool' component is not only affecting the realistic operation of airsoft guns in our 'IMOX Shooting Range' world but also the visual integrity of the models. When the appearance of a model is paramount, the automatic resizing upon equipping can detract from the ambiance of the world or item, and subsequently disrupt game balance.

To address this, I propose adding a new boolean setting named 'Adjust Scale' to the 'RawDataTool'. This would allow users to opt-out of automatic scaling, maintaining the intended size and aesthetics of equipment within the game environment.

Implementing this feature would grant us the ability to make precise equipment position adjustments in 'Turn off UI Edit Mode', avoiding any unnatural behavior and size discrepancies, thus enhancing the overall user experience.

shiftyscales commented 8 months ago

Some feedback has been provided above per your inquiry, @Frooxius. Some of the prominent themes from the above responses: