Hello,
somehow I have a problem that the Actor and all its components keep the same scale when I want to scale the Actor (Set Actor Scale 3D).
If I shrink the actor, it works, but if I want to scale the actor back to its original scale, then there are problems.
I am trying to create an inventory in VR. If I hold the item to the slot position and let go, the item is attached to the slot position and should shrink (this works).
If I grab the item from the slot and want to take it again, the item should return to the original scale (this doesn’t quite work). When I take the item out of the slot for the first time, the hand is huge and the scale of the item is as it should be. When I put it in the slot again and take it out, the scale of the hand is fine and everything fits.
Can anyone explain why this is the case? I may also have an error in the code somewhere. Or I need to try a completely different approach.
Here are some pictures of the code (sorry if it’s a bit confusing, but I’ve been trying to solve this problem with different approaches for a few days now):
Inventory Slot Part 1:
Inventory Slot Part 2:
Item:
This is the best working solution so far.
Thank you very much for help!