- Home /
instantiating water at runtime??
Hi there
I have a terrain that I can randomly generate at runtime and now I would like to have a pond in my world. Could you please help me instantiate the water and once that's done is there a way to set the coordinates of where it will instantiate?
thank you in advance any help is greatly appreciated. :)
Answer by getyour411 · Jan 21, 2014 at 06:22 AM
Assign the daylight (or nighttime) water prefab to a GObj. Then use the basic instantiate
GameObject myWater = Instantiate(WaterPref, myDesiredPosition, Quarternion.identity);
Your answer
![](https://koobas.hobune.stream/wayback/20220613131002im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Instantiating a object in a certain position.. 1 Answer
Need help putting an object at a point based on screen coordinates 1 Answer
Gather all coordinates of a terrain into a data structure. 1 Answer
Terrain with lots of objects 1 Answer