Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Feedback Collect items

Discussion in 'Visual Scripting' started by a4g_, Apr 13, 2022.

  1. a4g_

    a4g_

    Joined:
    Mar 8, 2022
    Posts:
    45
    If I want to make an objects/items that the player can collect from ground it is better to make trigger enter or collision enter between the player and the object ?
     
  2. munchmo

    munchmo

    Joined:
    May 20, 2019
    Posts:
    84
    Do you want the player to collide with the item and stop moving or push it around or have the player be able to pass through it? If you want them to collide, you'd use collision and if you want the player to be able to pass through the object you'd want trigger (and set your collider to Trigger).