Jump to content

Syntax with examples for beginner


ilearnwebgl
 Share

Recommended Posts

Hi, I'm new to programming and trying to learn webGL using the playground on babylon js.

 

The site is really good and seem to help me with learning about babylon js and webGL.

 

I'm trying to modify camera target:

camera.setTarget(BABYLON.Vector3.Zero());

 

to some other coordinate, for e.g. camera.setTarget(BABYLON.Vector3.(0, 0.2, 0));

 

This doesn't seem to work. Any ideas?

 

I tried to search for some documentation that gives some examples on the various syntaxies but couldn't find any for a beginner level.

 

 

 

 

Thanks.

Link to comment
Share on other sites

Mostly, there is lots of link-updating that Wingnut is slow at doing.  I have been SO LAZY lately.  :)

 

ILearnWebGL... you still alive?  I hope the guys fixed you up.  Keep us posted on your projects and experiments.  We love hearing about them, even if basic/beginner.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...