Collision detection not wirking

Discussion in 'RPG Maker MV' started by GenoGold, Mar 21, 2018.

  1. GenoGold

    GenoGold Villager Member

    Messages:
    28
    Likes Received:
    1
    First Language:
    english
    Primarily Uses:
    N/A
    So im trying to make movable objects, and Im using a collision detection script so it doesnt freeze my game when i hit a wall, but
    now the game crashes when I try to push it. Idk whats wrong.


    The setup for the object
    upload_2018-3-20_12-34-5.png

    The error I get when i try to push the object
    upload_2018-3-20_12-34-29.png
     

    Attached Files:

    #1
  2. Andar

    Andar Veteran Veteran

    Messages:
    28,151
    Likes Received:
    6,375
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    What is the second event, the one you check with the script line?
    Because the event itself is the first one, ID 1, not 2....
     
    #2
  3. GenoGold

    GenoGold Villager Member

    Messages:
    28
    Likes Received:
    1
    First Language:
    english
    Primarily Uses:
    N/A
    Oh my god I'm an idiot. I copied the code from a video, and his boulder was event 2.

    Thank you for pointing that out for me. A fresh pair of eyes really helps sometimes
     
    #3

Share This Page