- Home /
Question by
sriteja25 · Jun 15, 2016 at 04:52 AM ·
gameobjectunity5playcubes
My gameObjects keep moving up when clicked on play.
I am new to unity and trying to build a simple pickup and place objects game, I tried making a ground and place some cubes over it and wrote some scripting.
When i click on play the ground keeps moving up and up and up. Can anyone please guide me why this is happening ?
screen-shot-2016-06-15-at-122434-pm.png
(500.7 kB)
Comment
Answer by Cuttlas-U · Oct 25, 2017 at 11:24 AM
hi; nice one !;
i think the ground is not going up;
as u can see from your screen shot the position of the ground is 0 so its not changing at all ; its the player moving ;
its u "the fps" that is going down cause of gravity ;
so put the player above the ground so it land on the ground and not go under ( if u set physics for it ) ;
or disable player gravity;