New answers tagged

0

I found a workaround for the problem. also i am not sure if its a good thing to do. what i did essentially was limit my framerate in the game by using these two lines in void Awake() { QualitySettings.vSyncCount = 0; Application.targetFrameRate = framerate;// i've set it to 60; } after implementing this, it seems pretty much same on ...


0

To register KeyStrokes you need to Do it in Update(). And All the Physics related calculation in thee Fixed Update Here's a sample Code private void Update() { //Register Key Strokes if (Input.GetKeyDown("a")) { MoveLeft(); } else if (Input.GetKeyDown("d")) { MoveRight(); } } private void ...


Top 50 recent answers are included