- Home /
Queuing Gameobjects
Hi first question on here, so I'll cut to the chase. In my game I'm trying to remake a game similar to angry birds, I'm just starting to establish the core mechanic such as grab, drag, shoot etc.. My problem/ dilemma is with the player queue. I'm unsure on how to load the players onto the "slingshot" when its free and then how to shuffle them along close to the "slingshot". So far I have been thinking of the following methods :
Using the Queue class to know which Gameobject to move etc...
Use for loops to loop through an array of hand placed transforms(or queue positions with the last or first position being the "slingshot").
Now my question are the two above methods viable or efficient and how exactly could i implement them or are they not viable and in that case could someone offer a helping hand as to how i should go about this.
Thanks in advance XD
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Collecting game objects in specific order 1 Answer
C# Check If Gameobject is within Collider 1 Answer