Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | sanjib | |
Old Version | Published before Godot 3 was released. |
I have two scenes, one “main scene” and another is “player scene”. Player Scene comprises of rigidbody2d with collisionshape2d nodes,i set rigidbody2d as pickable true and set built-in script for player input_event. I want to know when the rigidbody2d of player scene is clicked or touched. I could get the input event generating when i play the player scene , but when i instance the player scene on main and try to play, the event is not generating.
I tried with emit_signal but i could not get the solution. Help is appreciated.
Thanks
can you share the project?
Nuno Donato | 2017-03-27 16:52