Search Unity

Question Infinite Jumping issue [Unity3D and Invector]

Discussion in 'Physics' started by davidlao27, Feb 21, 2021.

  1. davidlao27

    davidlao27

    Joined:
    Apr 26, 2020
    Posts:
    1
    Sorry if I'm posting this on the wrong section or anything, I'm new to the forum. :( [I don't know if this should go in Answers.]

    To reproduce:
    -Get the free version of the Invector controller
    -Give the character controller another mesh (basically another character with a rig)
    [-Animate it (optional, still jumping infinitely without animations)]
    -Run a playtest and spam-jump.

    I have only modified the Invector Camera Script to add a zoom feature, but i didn't add or delete any other lines on the Camera script or any other script/s.

    Video:
     
  2. Newermind

    Newermind

    Joined:
    Aug 10, 2019
    Posts:
    4
    i am not sure if i understanded source of your problem. If its when you tap jump button and keep pressed, you jumping infinetly. You probably need any ground check and call jump function once per key pressed. There are tons of tutorials about it. Example:
    if i missunderstand point of your problem, sry maybe try it explain little deeper?