Hello. I’m new to unreal, and i’m trying to build an hexagonal shaped cage that has to be rebuild each level with a defined radius on beginPlay event. For this i make a static mesh component (a cube) with a width (the variable radius) and an index, to determine the coordinates and rotation angle of each wall. I put 6 of this components with diferent indexes in the scene and i rotate them in startup with the attached blueprint.
My problem is that the “set Actor Location and Rotation” works for the rotations but has no effect in the new location input.
I set the “new loc” variable to store the new location coordinates and checked that the calculated coords are correct. Also, i set the static meshes as moveable.
I was looking for the hexagon inscribed in a circle, not circumscribed, with the side equal to the radius, and for this, also have to translate and rotate the sides (that’s why my math seemed strange), but with your solution I can finish solving it.