godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.98k stars 21.16k forks source link

Unable to achieve the desired function about getting properties value from scene drag-and-drop nodes in visualscript #24530

Open haizhou37 opened 5 years ago

haizhou37 commented 5 years ago

Godot version: godot3.1 alpha3

OS/device including version: manjaro gnome x64 Intel® Core™ i3-2350M CPU @ 2.30GHz × 4 Intel® Sandybridge Mobile OpenGL ES 3.0 Renderer: Mesa DRI Intel(R) Sandybridge Mobile intel hd 3000

Issue description: It can not get player attributes value. 2018-12-21 21-22-09 But it can. 2018-12-21 21-43-52

Steps to reproduce: peek 2018-12-21 22-57

Minimal reproduction project: test111.zip

Gallilus commented 3 years ago

Just tested it in 3.3.0 When control+F the editor instantiates a VisualScriptPropertyGet("angular_velocity") When dragging from inspector the editor instantiates a VisualScriptPropertyGet("angular_velocity") When dragging from node_path the editor instantiates a VisualScriptFunctionCall("angular_velocity")