Diagonal Movement Speed Boost Problem HELP
Hello guys, I have an FPSController script that I really like, it is super customizable and modular and everything works great. Except one thing, when you press two keys to move diagonally you are sped...
View ArticleIncreased strafe speed\
I'm making a parkour fps and want to add increased movement speed when strafing(moving diagonally with WA or WD) heres my movement code so far using System.Collections; using...
View ArticleStop diagonal movement 2d top down game
Hello everyone, I am in the process of designing a top down 2d dungeon crawler and I am struggling with stopping my player from moving diagonally. I want it to be so that when I press two keys the...
View ArticleHead bobbing is faster diagonally
I am making a game for a game jam and I'm writing my own FPS controller, however, the movement was faster diagonally because I am using Horizontal and Vertical axis. I fixed it using...
View ArticleNeed to disable diagonal movement and add grid walking
Hello, I'm pretty new to gamedesign, so I'm not entirely sure what I'm doing. I have used Brackeys' tutorial for top down movement (the code below), but as the title states, I don't want to be able to...
View ArticleCannot dash in left-down, left-up and right-down directions?
Alright, this is pretty much the first project I actually want to finish after a lot of my past attempts and I've been trying to fix this stupid bug. So basically I have a dash function on my player...
View ArticleControlling speed of diagonal navmesh movement?
Hi all. I've been working on a navmesh-based character controller based on [this great video][1] from Ciro Continisio. Here's how I adapted his code to work with the old Input Manager: using...
View Articlehow do I get full diagonal animation weight with blend tree
![alt text][1] [1]: /storage/temp/152991-blend-tree-capture.png Hello I am new to animation and I'm struggling with Unity's blend trees. This blend tree in my example does give me the result I'm...
View ArticleThird Person Camera Roatates Diaginal
Hello Everybody, I am trying to make a third person shooter and am trying to make the camera rotate around an object with the direction of the mouse. I used the script below however I don't even think...
View ArticleHow to make a collision from two moving objects?
If two objects move in different directions, where would they collide, based on their geometry. For x axis collisions I was using raycasts, but this ones are diagonal. One object can move right and...
View ArticleHow do I move an object along an ellipse path on diagonal?
Hi, I need to move a game object along an ellipse path on any diagonal: upleft, upright, downleft or downright. Now I'm getting only with directional movements: up, down, left or right. For example:...
View ArticleHow do I disable diagonal movement if i am using touch screen on my phone to...
I want the movement to be based on where the user taps on the screen , but i don't want the game to be 8 directional for the time being. How would I go about making him move without having to go...
View ArticleHow to integrate maxvertexcount method in my shader??
Hello all, I have a method that gives me a wirefame look to the 3d object and I want to integrate lines of code that will give me a wireframe look but without diagonals. I'm struggling with the...
View ArticleProblem with diagonal movement
Hello, so I have this problem with diagonal movement. I wrote this code and I don't know why my objects are moving diagonally. public class Movement : MonoBehaviour { public float speed; private void...
View ArticleDrag object with mouse in diagonal direction
I have a gameobject which i want to move using mouse. Currently i can do that in x-axis and y-axis: using System.Collections; using System.Collections.Generic; using UnityEngine; public class...
View ArticlePlayer moves too fast diagonally and accelerates too fast diagonally.
![alt text][1]Guys. I have a Vector3 InputDir. the character always ends up going too fast when i move diagonal. Also after trying to figure this out for a while I realized that there is actually...
View Article2D Character shakes when moving diagonally
This didn't use to happen, but I haven't been working on my game for a few weeks. Today I was finally done with schoolwork so I was looking forward to working on the game. However, when I ran it to...
View ArticleDiagonal character movement
I know a lot of these questions exist and have been answered but I couldn't find the answer for my code structure so if anyone knows a simple fix pls tell me. Code: private void Movement(float v, float...
View ArticleHow to make projectiles shoot diagonally?
Hello all, Im trying to make a 2D "spread shot" where 3 projectiles are instantiated in 3 different directions. One straight forward and 2 diagonals up and down. I feel like there is a simple way to do...
View ArticleDiagonal speed too fast with 0.7 multiplier
I worte a dash script and I'm currently trying to add a charged dash attack, EVeryything works fine (up until now). For some reason now my diagonal dashes are too fast, evern though I added a 0.7* (√2)...
View Article