Look At Function Problem
-
I noticed that an object that is set to look at another object will take a long time to point at the object. Can it be set to do this faster? lookAt guns on a bomber take a long time to adjust and cannot keep up with the bomber and fighter movement, for example.
-
Yay! Thanks for bringing my attention to this... I worked out that if you use lookAt("object",number), then you can adjust how fast it turns. The higher the number, the faster the turn!
lookAt("object",1000000) will have effectively no delay
-
Thanks!
-
Yeah, lookAt also has Accel and Damp options.
lookAt("sphere",100,2)
Putting 0,0 is special and will make it as strong as possible. Probably too strong for most applications. The default is
lookAt("sphere",10,10)
lookAt("sphere",1,1)#<--this is very weak.
-
Advertisement