- Home /
How to fix game objects on surface of a cube when scaling the height?,Change position and scale with one slider?
I have a cube and on on top of it I have other game objects, I want to scale the height of the cube with a slider while the other objects remain on the surface. I tried using the same script for height and the y position of the other elements but it doesn't work, when I play the game the height of the cube changes with slider but the elements are not attached to it's surface. I am new to unity and scripts if there is another solution please let me know. Thank you in advance!
,I have a cube and on on top of it I have other game objects, I want to scale the height of the cube with a slider while the other objects remain on the surface. I tried using the same script for height and the y position of the other elements but it doesn't work, when I play the game the height of the cube changes with slider but the elements are not attached to it's surface. I am new to unity and scripts if there is another solution please let me know. Thank you in advance!
Your answer
Follow this Question
Related Questions
How to Scaling object with new UI slider ? 1 Answer
Scaling Object with Slider 1 Answer
How to change particle system scale value with script 1 Answer
Having trouble positiong UI sliders using OnGui 1 Answer
Scale Objects become flat. 1 Answer