Align two mesh in game
Is possible to align two mesh by face? For example from this
asked Nov 08 '15 at 10:24 AM in Blueprint Scripting
Sure its possible but how do you want it to done? Are they going to stick to each others? Are they working as magnets? Please explain a little what you trying to do. In general you can try this:Block A and Block B first you rotate the block B to the same rotation as block A using Rinterp ,then you make a vector with rotation from Block A with the width of the block, that way you have the position where the block B need to go, then you just use custom build function to move the block B to position. Ps: The custom function should be used with rinterp in tickevent, it will be really useful if you used distance between the blocks in Rinterp, the closer they are the faster the rotation. Pss: These will work only for one side if you want it to work for the others as well you need to check where block B is located and getting a different rotator for the vector with rotation. If you want them to just teleport you just need the rotation and the vector and that it.
answered Nov 08 '15 at 12:17 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here