Hi.
I obviously don't quite understand how GetActorBounds works. I have a blueprint called BP_Wall and inside there is a static mesh of a wall. In the blueprint itself the coords of the mesh/wall are 0,0,0 for x, y, z and the scale is 1.
I drag that wall onto the level and scale it to 2.5 for x, y and z.
its location is 300, -120, 80.
when I get actor location I get back 300, 120, 80.
but when I get actor bounds (origin) I get a different vector.
not sure why the origin isn't the same as the location
thanks.
I obviously don't quite understand how GetActorBounds works. I have a blueprint called BP_Wall and inside there is a static mesh of a wall. In the blueprint itself the coords of the mesh/wall are 0,0,0 for x, y, z and the scale is 1.
I drag that wall onto the level and scale it to 2.5 for x, y and z.
its location is 300, -120, 80.
when I get actor location I get back 300, 120, 80.
but when I get actor bounds (origin) I get a different vector.
not sure why the origin isn't the same as the location
thanks.
Comment