- Home /
Question by
baconman123654 · Sep 01, 2021 at 01:43 PM ·
first person controller
Why doesnt my wall jumping script work? the regular jumping and wall running works fine. any help is appreciated. 3d character controller
if(Input.GetButtonDown("Jump") && isWallLeft) { transform.Translate(Vector3.right 50f Time.deltaTime); transform.Translate(Vector3.up 40f Time.deltaTime); }
if (Input.GetButtonDown("Jump") && isWallRight)
{
transform.Translate(Vector3.right * -50f * Time.deltaTime);
transform.Translate(Vector3.up * 40f * Time.deltaTime);
}
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613042429im_/https://answers.unity.com/themes/thub/images/avi.jpg)