Is it possible to use this when creating a BezierPlugin tween that utilizes "autoRotate"? As far as I know, threejs does not support "rotationX", etc.
My goal is to move a model of a fish along a path and have him face forward as he moves.
TweenMax.to(myObject3d.position, 4, {
bezier: {
type: 'soft',
values: [
{
x: 0,
y: 0,
z: 0
},
{
x: 100,
y: 100,
z: 100
}
],
autoRotate: [
['x', 'y', 'rotationZ', 0, false],
['z', 'x', 'rotationY', 0, false],
['z', 'y', 'rotationX', 0, false]
]
},
ease: Power1.easeInOut
});