Quantcast
Channel: Questions in topic: "javascipt"
Viewing all articles
Browse latest Browse all 1875

Trying to move an object between two points

$
0
0
Can you please help me arrange this correctly... #pragma strict public var speed = 5f; function Start () { } function Update () { transform.position.x = (Mathf.PingPong (Time.time * speed, 5.1, 0.9)); }

Viewing all articles
Browse latest Browse all 1875

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>