Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wwwonka opened this issue Jun 20, 2022 · 1 comment
Closed

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

wwwonka opened this issue Jun 20, 2022 · 1 comment

Comments

@wwwonka
Copy link

wwwonka commented Jun 20, 2022

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".

UndefinedScript.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
Copy link
Author

wwwonka commented Jun 20, 2022

Solved.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant