Why is the set relative location offset on my custom meshes?
I'm trying to add an arrow component to my meshes so you can tell which way is forward but for some reason on my custom meshes the arrow is offset by a huge margin.
The meshes's bounds are not that big, I can do float-float to temporarily fix it but this isn't super good cause all my custom meshes are different sizes. Which can sometimes put the arrow in weird spots.
I know it isn't the actor's bounds, scale or extent cause I've checked them and there's other things going on in the code that rely on those being correct to work. The arrow is spawned in real time cause I need the arrow to spawn as the actor follows my cursor before it gets placed. To show which way is forward on the actors.
It's cause the origin point in blender was front center causing the arrow to be offset, if anyone knows how to change the origin in ue4 or account for this pls let me know.
Okay Someone on reddit told me this and it worked, also a way to permanently move the origin point for anyone interested.
"If you open the mesh in unreal there should be on the right an import options section where iirc you can add an offset (usually I use it for rotation and scale). Then under asset actions in the top left there is an option to reimport"
First of all, the box extent might be larger that you can really see;
Second, the house scale may affect that as well. If you made the house and rescaled it, the relative location got rescaled as well. If, for example, your house's scale is 2x2x2, and Box Extent X is 500, the arrow will be placed at X==1000;
Try setting World Location, not relative; but make sure to add Box Location X to Box Extent X.
Alternatively, try dividing the Bow Extent X by the house X scale.
answered Dec 19 '18 at 06:11 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here