Hello, I need the the player to have force added in the direction the analog stick in pointing. For example, Move the stick up, force is added forward, move the stick right, force is added to the right. Right now with this code `CameraRigRB.AddRelativeForce(ObjectForMovementDirection.transform.right * touchpadvalueLeft.x + ObjectForMovementDirection.transform.forward * touchpadvalueLeft.y * Skispeed, ForceMode.Force);`
Force is only added forwards and backwards. Would anyone know why this is?
↧