How can I interact with a Button in Godot? #142574
Replies: 3 comments
-
|
Hi again xDDDD I did that too a long time ago :0 I just created a scene with paren "StaticBody3D" and gave it a base and Button Object and a Collisionshape3D to interact. var door_open:bool = false signal interacted(body) @export var prompt_message = "Interact" func _ready(): func interact(body): ` This StaticBody is also a Group of "Interactable". For the "arm" of the Player i created an Node into the player and a SpringArm3D Hope this helps ( again ). If you need further Informations or a closer look to my Project don't hesitate to ask me :) |
Beta Was this translation helpful? Give feedback.
-
|
Ohh ok, that helps, thank you very much, I will try it now |
Beta Was this translation helpful? Give feedback.
-
|
Hi @Elisicc & @Tristan-BS, thanks for being a part of the GitHub Community! While we appreciate you wanting to contribute to Discussions, please note: We made the decision to disable the ability to earn Achievements in our Community in order to discourage users from participating in coordinated or inauthentic activity like rapid questions and answers in order to earn badges. You can learn more about this decision in our announcement post here Achievements will no longer be available in the Community. As a result, we'll be unmarking the answer and locking this, and other related posts. Any future violations may result in a temporary or indefinite block from the Community. Thanks for understanding and we hope to see you participate in other discussions in the future! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Body
I have an character model and I would really like this to interct with 3D objects like a Button. Does someone have a Idea how I can do that?
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions