Unreal Engine 4 (UE4) How to move (translate) a mesh from a blueprint caused by an input and using add actor local offset and make vector nodes
In the events graph of the blueprint, create a reference to the mesh in the blueprint that will be moved by right clicking in the events graph and selecting the mesh component, or by ctrl dragging the mesh from the My Blueprint panel onto the surface of the events graph.
The key to moving the mesh is to use add actor local offset. You can get this node by dragging from the mesh reference pin and typing in local offset.
The transform portion of the taks can be created from an outside call of some value as in this example by using a make vector node and passing in the event variable, or by simply changing the location transform X Y or Z values.
Comments and Additional Information
Have some code to share? Or additional information? Respond here:
You need to be logged in to save a response on this page. The response must be constructive, helpful, supplimentary or to correct the existing video, code or narrative content.