Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

Obsolete API updating can't work, errors not fixed

$
0
0
Hi, I download a project, for sculpt at runtime, the script seems to be obsolete but the API updating can't work because the code presents some errors. It's java and I don't have enough experience to see the errors. If someone can look at it and tell me what's wrong, thank you ![alt text][1] // This script is placed in public domain. The author takes no responsibility for any possible harm. var scale = 1.0; var speed = 1.0; var recalculateNormals = false; private var baseVertices : Vector3[]; private var noise : Perlin; function Start () { noise = new Perlin (); } function Update () { var mesh : Mesh = GetComponent(MeshFilter).mesh; if (baseVertices == null) baseVertices = mesh.vertices; var vertices = new Vector3[baseVertices.Length]; var timex = Time.time * speed + 0.1365143; var timey = Time.time * speed + 1.21688; var timez = Time.time * speed + 2.5564; for (var i=0;i

Viewing all articles
Browse latest Browse all 2891

Trending Articles



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