Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: silonighora on June 05, 2016, 01:15:30 PM
-
Hi All,
I am facing one strange problem. I am working on a game where I have few cars moving in the scene. Apart from the cars I have few game objects where I have added FSMs. In the editor if I play the game and then select an object which has a FSM(not related to the car movement) attached to it, then the movement of the cars is not smooth. I see lot of jitter in the car movement. But if I select a game object which does not have any FSM, then the cars move very smoothly.
I am not sure why this is happening. Has anyone faced this kind of problems?
Please help!!
Regards,
Siloni
-
Having an active Fsm being displayed when the game is playing slow things down some times- that doesn't effect the build in any way though- I'm not sure if this slow down and choppy playback is the jitter you're referring to though-
-
Hi,
try if you have the fsm's collapsed in the inspector if that helps.
-
Hi,
What version of PlayMaker are you using?
Bye,
Jean
-
Hi All,
Thanks for the replies and sorry for replying late.
@mdotstrange
Yes, I am referring to the choppy playback in the editor when the game is played with an active FSM open. However, I feel the same is the case in the build as well. I have seen some parts of the game plays smoothly in the build. But as soon as I make one GameObject active which has some FSMs, I experience the jitter.
@jeanfabre
I am using Playmaker version-1.8.0.f43
Regards,
Siloni
-
If you're seeing the same behaviour in the build you should double check the work that the FSM is doing. Check for things like debug log spamming, too many raycasts, spawning new objects, or other expensive operations... can the behaviour be optimized? Or run less often?