Question by
Censureret · Apr 13, 2017 at 04:20 PM ·
unity 5playmaker
PlayMaker Creating an interactive object
Say you have a game object that you want to be able to click using a button.
I first attempted to make this in the following way:
As you can see from the image i added an on/off state that would trigger when ever you pressed the button "E"
So basicly you would toggle between these.
This worked :) however not as intended because i could press the button anywhere on the map and it would still trigger.
So my question is. How do i make sure that you are close to the object that your trying to interact with?
Is it possible that any of you could give me an example of how to do this :)?
capture.png
(34.3 kB)
Comment