Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: 3d_Artist1987 on May 22, 2014, 02:50:08 AM
-
hi,
i want to set my physic action to Fixed Update,how to do this,
i think every frame option is update only,Am i wrong?
or second option is i open .cs file and modify into Fixed Update.
Dev
-
Which action are you referring to? The stock physics actions should already be done in FixedUpdate, or at least have an option for using it.
Are you making a new action?
-
Hi,
Thanks for reply,
i talking about get axis,get and set velocity actions.
Dev
-
What is the reason for wanting to change it to FixedUpdate?
GetAxis is using Input.GetAxis which is done on Update by Unity. The reason Physics based actions are mostly on FixedUpdate is because it is framerate independent. (http://unity3d.com/learn/tutorials/modules/beginner/scripting/update-and-fixedupdate) Using it on Input actions has limited application.
Get/SetVelocity is a similar situation. Its basically just used to control the rate at which something is done.
-
hi,
Thanks for sharing information.Now i understand no need fixed update in get axis and velocity action.
Dev
-
thanks