By the way, if you want to place the center of your plane at a particular position in world coordinates, here is a recipe to do so:
- Call
GetCenter()
on the dataset (not the actor itself) to get the center in model coordinates - Call
SetOrigin(center)
to set the origin to this center that you just got - Given the world coordinate point (P[0], P[1], P[2]) where you want to place the center, call
SetPosition(P[0] - center[0], P[1] - center[1], P[2] - center[2])
.
This will place the center of the actor at P
, unless I made some silly mistake with the math…