- Home /
Circle instantiate?
Hello. I want to make my game similar to this (27-37 seconds), the player will be going through a tunnel with obstacles all around it. I want the obstacles around the tunnel to be randomly generated, how would I instantiate objects around a circle and make sure that they are facing the right way (for example, if one obstacle shoots a burst of fire, how would I make it so the no matter where on the cylinder, the fire is always bursting towards the center)? Also, how can I connect these instantiated objects together so that they rotate (my plan is rather than having the player controlled object traveling through an entire modeled tunnel and looping around it, the player is going to stay in the same place, the tunnel is going to rotate)? Thanks
I'd say nake the player move... Unless you have an actual reasoning... Billboarding a particle system I believe makes it always face the character as well...
The reason is that the character would have to run sideways on the walls, and character controllers can't rotate on any axis but their y axis, and a physics controlled system would difficult due to the unrealistic speeds the character moves at.
Your answer
Follow this Question
Related Questions
Checking if object intersects? 1 Answer
Instantiate an image, equally in a circle and rotate it away from the center? 2 Answers
Instantiate objects in a new position into a grid 1 Answer
How can I spawn gameObjects within a circle radius? 1 Answer
Instantiate object in random position on 'donut' shaped platform 2 Answers