Search Unity

help with jump pad

Discussion in 'Scripting' started by NintendoAsh12, May 10, 2021.

  1. NintendoAsh12

    NintendoAsh12

    Joined:
    Feb 15, 2021
    Posts:
    90
    it has no errors plz help in neec it rilly bad
    Code (CSharp):
    1.  void OnControllerColliderHit(ControllerColliderHit himt) {
    2.         switch (himt.gameObject.tag)
    3.         {
    4.             case "000spr":
    5.                 JumpForce = 25f;
    6.                 Debug.Log("hi");
    7.                 break;
    8.         }
    9.  
    10.     }
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,689
    How to report your problem productively in the Unity3D forums:

    http://plbm.com/?p=220
     
  3. NintendoAsh12

    NintendoAsh12

    Joined:
    Feb 15, 2021
    Posts:
    90
    it is not 3d it is 2d