what is the difference between these and when i should use one of them and is it wrong to use Update() all the time?
Aug 05 '11 at 05:02 AM
Check out this link on Update Order
Aug 05 '11 at 05:10 AM
Sep 30 '12 at 09:05 PM
this is a good answer :D
but.... can i have example about when i should use one of them :)
Generally, you will use Update for most operations. Such as changing transforms, or rotating items. FixedUpdate is usually used when you are calculating physics, such as applying forces to a rigidbody. i.e rigidbody.AddForce() etc. Anything that does calculations on the physcs side of things is usually used in FixedUpdate. In most other cases you will use Update().
realy thanks dude :)
I suppose this page was replaced by this one: http://docs.unity3d.com/Documentation/Manual/ExecutionOrder.html
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
asked: Aug 05 '11 at 05:02 AM
Seen: 2790 times
Last Updated: Sep 30 '12 at 09:05 PM
how to achieve a LateFixedUpdate effect
Coroutines vs Update/FixedUpdate/LateUpdate
Action on mouse button up
FixedUpdate vs. Update for instantaneous ForceMode's
How efficient is Update() vs Update via a Manager vs Coroutines for iOS Deployment?
FixedUpdate limits: consistant 0.01 s on mobile devices?
How to restrict rotation properly
FixedUpdate performance doubts
Applying Forces, independent of Frame Rate?
Update() calls start several seconds after launch