Why does the component i'm trying to move move to another location?

Hi!
I’m having a problem moving a component to another location.
It’s supossed to emulate an elevator, but it moves to different coordinates than the ones i indicated. Also, why does the texture of the component go all crazy while moving?

Screenshots and a video here:



pe3

The Vector input on Move Component to function is expecting a Relative Location, but is set to a World Space Location. use something like X=0, Y=0, Z=2000 since you only want to move it up.

Another thing you could do to make it a bit easier to set the Target Location is to create a Vector Variable, enable Instance Editable and Show 3D Widget. Connect that variable to Target Relative Location. Then when you select the Elevator Actor in the level, it’ll give widget that you can select and move in the level to set the location the elevator should move to.

image

The material is doing that because it’s using World Aligned Texture, the default grid material is setup so that it uses World Coordinates instead of the object’s UVs. I believe if you open the material there should be check box called Object Aligned or similar, try enabling that.
If that doesn’t work I would suggest using a different material that doesn’t use world aligned textures.

1 Like

The vector solved it! Thank you very much!!!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.