- Home /
Question by
TheFFFUUUguy · Oct 21, 2012 at 03:12 PM ·
noobmovingslide
Moving object between two points (script)
Hello, I have been searching the answer to this question in the web for quite a while and have found nothing. I'm creating a platform game and I would like to have a sliding platform along z axis.
Since I know nothing about java/c/boo, I can't script it by myself so any help is welcome.
Thanks!
Comment
suggest go to unityGems.com and read the beginner articles
You will have to learn some scripting to pursue your hobby.
Best Answer
Answer by liszto · Oct 21, 2012 at 03:16 PM
Use ping pong function I think it's enough you just want your platform moving along an axis ;)
==> Ping pong function page : http://docs.unity3d.com/Documentation/ScriptReference/Mathf.PingPong.html
Your answer
![](https://koobas.hobune.stream/wayback/20220613082708im_/https://answers.unity.com/themes/thub/images/avi.jpg)