# タイムラインの値ごとのtransformとrotationを出したい

**URL:** <https://forums.unrealengine.com/t/transform-rotation/491443>\
**Category:** 日本語 (Japanese)\
**Tags:** timeline, unreal-engine, japanese, Spline, UE4, question\
**Created:** [December 7, 2021, 5:30pm UTC](https://forums.unrealengine.com/t/transform-rotation/491443 "2021-12-07T17:30:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nusi410](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nusi410](https://forums.unrealengine.com/u/nusi410)\
**Post date:** [December 7, 2021, 5:30pm UTC](https://forums.unrealengine.com/t/transform-rotation/491443/1 "2021-12-07T17:30:04Z")

</div>

([Spline along the object - Programming & Scripting - Unreal Engine Forums](https://answers.unrealengine.com/questions/971160/spline-along-the-object.html))を利用してstatic meshを動かさずにsplineが向かってくるものを作成しました。  
これを用いて電車を作成したいと思いstaticを増やしたのですが、角を曲がる際に増やした分のstaticがsplineを越えてしまい背景などに重なってしまいます。  
解決法としてタイムラインの値をstatic別に取得してtransform,rotationを入れてあげるというのを考えたのですがどのようにすればよいでしょうか？またほかに方法はなにかないでしょうか？

 ![353260-bp-splineactor-2021-11-29-22-52-56.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/0/b/c0b9c233a742937e5f98b0100c5f77e3d77c1ffb.png)

 ![353262-myproject-unreal-editor-2021-11-30-010007.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/5/b/45b30a026201aba8e9a4b50d6a464615e94511fe.jpeg)

 ![353263-myproject-unreal-editor-2021-11-30-010302.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/0/c/30cabc07cc55b54ae33291d4e51afc12c72fe296.jpeg)

][3]
