AligntoVector on a B3d animated bone
Blitz3D Forums/Blitz3D Programming/AligntoVector on a B3d animated bone
| ||
I have an animated character and I want to align the head (a bone) to the camera smoothly, while he's performing other b3d animations... How? |
| ||
You would need to rotate/align/position the head bone after the updateworld command otherwise the head bone will remain in the position specified by the animation sequence. |
| ||
I'd suggest to use a dummy pivot at the heads position with align to vector, then rotate the head using entitypitch etc. from the pivot, after each UpdateWorld as Matty suggested. Tho, you may have to prevent the head from turning around more than about 100°. |
| ||
nice idea ;) |