Welcome to the new Babylon.js forum!

Welcome to our new forum!!!

The previous one will remain for archive purposes only.

Feel free to discover our new home and make yourself comfortable :slight_smile:

7 Likes

Just because it is so easy now, let me flag this as an answer :smiley:

2 Likes

Adding a link to the Playground is easy:

https://playground.babylonjs.com/#BCU1XR#0

1 Like

But that will be better if we could open url in the new tab, so as not to lose the topic, but apparently, it’s not possible, not option “_blank” in link tool, it’s pity

There is an option for that in your settings :slight_smile:

Example on how to ping someone: @jerome;)

(Just type @ and start the name of who you want to ping)

@Deltakosh Cool :slight_smile:

1 Like

For the link to open the PG directly, you have to right click on the link and open in a new tab.
Because if I click directly on the link I come across a spam page that says :

We have not been able to verify that the link you have selected has been posted on the forum. If you still want to continue, select the link below.

1 Like

@Dad72
Just click the link again below the text :slight_smile:

But there must be a way to whitelist domains to avoid that page.

1 Like

Yes I saw that the link leads to the PG, but it is 2 clicks instead of one.
It would be better to whitelist. :+1:

Yes I’ve ping Discourse for the whitelist :smiley:

1 Like

Breaker 1-9, this here’s The Rubber Duck. You got a copy on me, PigPen, c’mon? :smile:

How about a little code-paste test.

var manager = new BABYLON.GUI.GUI3DManager(scene);

    var panel = new BABYLON.GUI.PlanePanel();
    panel.isVisible = false;
    panel.margin = 0.2;

    manager.addControl(panel);

    panel.linkToTransformNode(anchor);
    panel.position.z = -1.5;

Ok, that’s tolerable (after I learned what Deltakosh taught me about javascript prefix, and fixed my previous attempt) :wink:

Why is the GUI on this forum… SO NEAR-TO screen bottom? Heck, just mousing-over a link… which brings up the URL on the browser status line at screen-bottom… blocks some of the forum GUI.

I wonder if we can have our own theme or CSS. hmm. SO much to learn. Maybe a couple snorts of cranberry schnapps will help. :slight_smile: I’m scared.

2 Likes

Code is also supported (by adding ```javascript at the beginning and ``` at the end):

    // This creates a basic Babylon Scene object (non-mesh)
    var scene = new BABYLON.Scene(engine);

    // This creates and positions a free camera (non-mesh)
    var camera = new BABYLON.FreeCamera("camera1", new BABYLON.Vector3(0, 5, -10), scene);

    // This targets the camera to scene origin
    camera.setTarget(BABYLON.Vector3.Zero());

    // This attaches the camera to the canvas
    camera.attachControl(canvas, true);

    // This creates a light, aiming 0,1,0 - to the sky (non-mesh)
    var light = new BABYLON.HemisphericLight("light1", new BABYLON.Vector3(0, 1, 0), scene);

    // Default intensity is 1. Let's dim the light a small amount
    light.intensity = 0.7;

    // Our built-in 'sphere' shape. Params: name, subdivs, size, scene
    var sphere = BABYLON.Mesh.CreateSphere("sphere1", 16, 2, scene);

    // Move the sphere upward 1/2 its height
    sphere.position.y = 1;

    // Our built-in 'ground' shape. Params: name, width, depth, subdivs, scene
    var ground = BABYLON.Mesh.CreateGround("ground1", 6, 6, 2, scene);
1 Like

You can embed images with a simple drag and drop:

3 Likes

This is my first comment here :smile:

1 Like

I gave you a like for that!

1 Like

:grin::grin: thanks alot!!

Hi everybody :raising_hand_man:

3 Likes

Hi John and welcome!!

Great to see SSL enabled on this forum :face_with_monocle:

2 Likes