Is there any way to use the above plugin for three js object. Here what I am trying.
var tween = new TimelineMax();
let o = {
velocity : this.getVel() * 1000,
angle : Math.PI + (o2.angle * 180 / Math.PI),
gravity : 0,
xProp : "x",
yProp : "z"
};
tween.to(eleHolder.position, 2, {
physics2D : o,
/*yoyo : true,
repeat : -1,*/
onUpdate : function() {
console.log(this)
$this.onUpdate();
}
}, 0);