BabylonJS / Editor

Community managed visual editor for Babylon.js
http://editor.babylonjs.com/
813 stars 232 forks source link

linked scripts dont have any effects and path is "Undefined" #383

Closed wwwonka closed 1 year ago

wwwonka commented 1 year ago

Ive been trying to make the third person example project run but the included scripts are not linked already.

Maybe it's just me being a noob with the tool or something is off with the link scripting.

Basically when I drag the script to the corresponding object (dragging player.ts onto the player object), first the path does not show up like it does in the documentation screenshot. Rather it shows as "Undefined".

https://user-images.githubusercontent.com/16738328/174505423-0b1ff0d1-82da-4e97-bd8e-f802eef33ced.mp4

Secondly, the scripts dont seem to have any effect on the game. Which again, is odd since the properties marked as @visibleInInspector show in the inspector just right.

wwwonka commented 1 year ago

Solved.

sudo /Applications/BabylonJS\ Editor.app/Contents/MacOS/BabylonJS\ Editor