I’ve got a Codea scene in craft where I am tweening a couple of spheres going around a path, but I would like to do some rotations, but no matter what I put into the tweening code the spheres do not rotate at all.
Here’s a sample of my tweening code.
t1 = tween(1.0, myEntity1, {scale (.5,.5,.5), x = -1, y = -.25, z = 6,}, tween.easing.linear)
t2 = tween(.1, myEntity1, {rotate (30,0,0,1), scale = vec3(.8,.4,.25), x = -1, y = -.5, z= 6}, tween.easing.linear)
t3 = tween(1.0, myEntity1, {scale = vec3(.3,.8,.3), x = -1, y = 3, z = 10}, tween.easing.linear)
t4 = tween(1.0, myEntity1, {scale = vec3(.5,.5,.5), x = 1, y = 3, z = 10}, tween.easing.linear)
t5 = tween(1.0, myEntity1, {x = 1, y = 1, z = 3}, tween.easing.linear)
t6 = tween(1.0, myEntity1, {x = -1, y = 1, z = 3}, tween.easing.linear)