Quantcast
Channel: Questions in topic: "random spawn"
Viewing all articles
Browse latest Browse all 125

randomly spawn objects and hide after hit

$
0
0
hi guys, hope you'll be able to help me out. I'm currently trying to implement a superpower trigger to my game (little mushroom). I want to spawn it randomly on the x and y axis. Having a sidescroller I currently are able to move my mushrooms to the left but only those I copied into the current scene. my questions: How do I infinitely spawn those objects in a random spot? And how do I make it invisible after it was hit? Tried to do it with a trigger and destroy script, but destroying the game object seems like the wrong idea. best wishes

Viewing all articles
Browse latest Browse all 125

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>