Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

Resolved Unable to move character through doors

Discussion in 'Physics' started by DMXrated, Jun 5, 2023.

  1. DMXrated

    DMXrated

    Joined:
    Jan 8, 2021
    Posts:
    32
    I am creating a game based on Earthbound, and I am unable to move the current player character through a door.

    Several years ago, I had attempted to re-create part of Earthbound, and my brother created a script to apply to doors. They work properly there, but in the current build of my real project, they do not work even when I attach door.cs to a staircase entrance.

    Here are a couple of screenshots of the two rooms I am trying to move my character between:

    Screenshot 2023-06-05 08.10.27.png Screenshot 2023-06-05 08.14.38.png

    And also attached is the C# script that I applied to both ends of the staircase.
     

    Attached Files:

  2. DMXrated

    DMXrated

    Joined:
    Jan 8, 2021
    Posts:
    32
    Resolved.