Clamp a plane to the right bottom corner of the camera

hey, there I am new to Babylon,

I am trying to create a mini-map, I have achieved to render the top camera on a plane, but I am not able to clap it to the right bottom corner of the camera. whenever the size of the window changes the position of the plane gets disturbed. is there any way to clamp it to the right bottom of the camera.

Hey @Shubham, if you’re trying to make some kind of mini-map set up, you might be able to have some luck with using a multiview set up with viewports: Layer Masks and Multi-Cam Textures | Babylon.js Documentation (babylonjs.com). If you look at the picture in picture example, that might be close to what you’re looking to do.

There some thread open in the forum related to minimaps like this 1:

I second @PolygonalSun if you could provide screenshots of, even better, a playground, it would help us figure it out.

Hello, just checking in, was your question answered? @Shubham

@carolhmj Whilst browsing some topics prior to a sunny WE :smiley: I have to say (and wanted to state here that) your follow-up on topics is really impressive and dedicated to the BJS culture :heart: @Deltakosh . I don’t think I’ve ever seen anything like this in any other forum. I wish you have an awesome WE :sunglasses:

4 Likes

View 27 Molang Thank You Gif Cute

it’s a pleasure to help with what I can! :heart:

2 Likes

@carolhmj is the best !!! So glad she is part of the community :slight_smile: