I have a puzzle piece (think: 3d tetris)
that needs to be rotated according to absolute space, on a grid.
Usually I use RotateEntity for something like this, but that only works on one axis for this model. I think it has to do with the actual pivot of the model. I also tried turnentity(false and true, both). No luck.
At any rate, I've tried creating a pivot, translating the pivot out a bit, and then using DeltaPitch between the two points, I've also tried AligntoVector with various permutations of those parameters, yet still I cannot get the piece to rotate on it's local x axis without suddenly appearing several units off to the right.
What's the better approach for this?
the main problems is that it does turn but it turns WAAAY off the axis I need it to be on, as if the pivot were off. And I checked the model in the 3d app I made it in and the pivot is right in the center of the model.
that needs to be rotated according to absolute space, on a grid.
Usually I use RotateEntity for something like this, but that only works on one axis for this model. I think it has to do with the actual pivot of the model. I also tried turnentity(false and true, both). No luck.
At any rate, I've tried creating a pivot, translating the pivot out a bit, and then using DeltaPitch between the two points, I've also tried AligntoVector with various permutations of those parameters, yet still I cannot get the piece to rotate on it's local x axis without suddenly appearing several units off to the right.
What's the better approach for this?
the main problems is that it does turn but it turns WAAAY off the axis I need it to be on, as if the pivot were off. And I checked the model in the 3d app I made it in and the pivot is right in the center of the model.