How do I create a button object I can press using my Imp as a pointer?
I’ve seen it used in the Cookie Clicker game. I want to make an object I can use my Imp to press buttons and switches.
-
You can use a grab sensor which will detect the imp grabbing the object (hovering over it and pressing R2). If you sculpt a button, you can move it with a keyframe when it is grabbed by the imp to make it look like imp is pushing the button.
-
Yeah I know about using R2 but is there not a way to use the X button?
-
Maybe try using the grab sensor and wiring the hovering over output to an and gate along with the x button output from a controller sensor.
-
Still use the grab sensor, but use the "Hovered" output. This will give you signal the user is hovering over the object.
Then you use the controller sensor (remote controller, so you dont have to posses anything) and output of the X button. And then connect both to the AND gate.
So if you cursor is over the object and players uses X button, something happens.
Please sign in to leave a comment.