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.
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement