Forum begins after the advertisement:


[Part 3] Issues interacting with land

Home Forums Video Game Tutorial Series Creating a Farming RPG in Unity [Part 3] Issues interacting with land

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #11562
    Jonathan Teo
    Level 18
    Moderator
    Helpful?
    Up
    0
    ::

    Character has issues interacting with the plot of land or selecting/deselecting

    • Check how the Interactor GameObject is positioned. Make sure it’s in front of the player and positioned above ground.
    • Ensure that there is a collider attached to the Land GameObject. GameObjects need a collider to be able to register Raycasts. So without a Box Collider, a GameObject will never register raycast collisions.
    • <li>Check your non-Land ground tiles to see if they are tagged wrongly. If they are tagged as “TillableLand” too, then the last part for deselecting the land will not run. Make sure only your Land tiles are tagged as “TillableLand”.</li>
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Go to Login Page →


Advertisement below: