[DiscordArchive] are you testing in blender?
[DiscordArchive] are you testing in blender?
Archived author: Deamon • Posted: 2018-06-12T09:30:30.150000+00:00
Original source
are you testing in blender?
Archived author: Skarn • Posted: 2018-06-12T09:31:37.714000+00:00
Original source
yes
Archived author: Skarn • Posted: 2018-06-12T09:32:27.612000+00:00
Original source
I built a 3D curve just for reference on how it should be
Archived author: Skarn • Posted: 2018-06-12T09:32:34.367000+00:00
Original source
and I also animated it using fcurves
Archived author: Skarn • Posted: 2018-06-12T09:32:50.773000+00:00
Original source
It is following the wrong path
Archived author: Skarn • Posted: 2018-06-12T09:35:40.180000+00:00
Original source
2018-06-12_12-34-47.mp4
Archived author: Skarn • Posted: 2018-06-12T09:36:53.827000+00:00
Original source
https://i.imgur.com/LqkYdtk.pnghttps://i...om/LqkYdtk
Archived author: Skarn • Posted: 2018-06-12T09:37:03.968000+00:00
Original source
It is not precisely following the correct curve
Archived author: Skarn • Posted: 2018-06-12T09:37:42.834000+00:00
Original source
That's how I imported the animation
Archived author: Skarn • Posted: 2018-06-12T09:37:46.904000+00:00
Original source
```py
# set translation values for each channel
for i, timestamp in enumerate(frames):
frame = timestamp * 0.0266666
for j in range(3):
keyframe = f_curves[j].keyframe_points[i]
keyframe.co = frame, track[i].value[j]
keyframe.handle_left = frame, track[i].in_tan[j]
keyframe.handle_right = frame, track[i].out_tan[j]
keyframe.interpolation = 'BEZIER' # TODO: hermite
```