jhadenfeldt

Define offset when linking MultiLine with GUI Rectangle

Recommended Posts

I am trying to use the GUI MultiLine in combination with a GUI Rectangle, which works fine:

https://www.babylonjs-playground.com/#WV5YD6#1

The problem I'm having is the position of the line that is attached to the rectangle. Is there a way to not have the line centered in the middle of the rectangle, but define an offset that allows me to position the end of the line in one of the corners?

In the screenshot, I marked what I'm trying to do with a red line:

 

babylon_multiline_position.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.