abdelkrim Posted March 28, 2016 Share Posted March 28, 2016 I have created a simple scene including a camera, a ground a some hemispheric light. I want to change the size of the ground based on the size of the canvas. How could I do that, I don't find a method that may help me to perform this operation? Thanks for your help, Abdelkrim Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 29, 2016 Share Posted March 29, 2016 Hello is your ground a GroundMesh? you can then easily control its size using ground.scaling (which is a vector3) Quote Link to comment Share on other sites More sharing options...
abdelkrim Posted April 7, 2016 Author Share Posted April 7, 2016 yes it is a groundmesh, I'll will indeed scale the ground based on the new window.innderWidth/Height thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.