Announcement

Collapse
No announcement yet.

Need help activating widget with trigger box by sight

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Need help activating widget with trigger box by sight

    So I can't figure it out, and I seen a video a while back but now I can't find it... Can someone help me, I'm trying to set up a BP to pick something up but when you're in range and LOOKING at the item rather than activating the trigger when overlapped. So how would I set it up so it knows the player is looking at the item to pick up?

    #2
    Get the distance to object or use a over lap and dot product of forward vector of camera and object location < angle something like that. Likely need an acostD in there

    https://m.youtube.com/watch?v=sf3jT12pN6o

    You just want to get a true for both in range and looking at
    Inphidel / Brian - Developer of Ultraball
    http://www.ultraballgame.com

    Don't shy away from bugs in your game. Don't play it as intended. Break your game so you can fix it!

    Comment

    Working...
    X