playMaker

Author Topic: Reticule tutorial help  (Read 813 times)

acidicloop

  • Playmaker Newbie
  • *
  • Posts: 5
Reticule tutorial help
« on: November 24, 2021, 07:00:16 PM »
So Im following the reticule tutorial here and got it to work. I wanted to tweak it though, because its always doing a check for objects having that Info field filled out and I dont want my reticule to show "Ground" when looking at the floor. So I figured I would tag all objects i do want the reticule to show info for as "interact". In the Raycast State from the tutorial, my guess was I would not do the CompareGameObject, but rather the GameObjectCompareTag and select "interact". The issue I have is later in the tutorial it references "currentTarget" in a few of the states. Specifically in the NewTarget state he does SetGameObject and it requires a variable to set objectHit with and he uses currentTarget. I dont have that variable because I used the tag one. What would I do at this step? I want it to do the dynamic reticule only on objects that have the "interact" tag.