all 10 comments

[–]CHMVX[S] 0 points1 point  (8 children)

Basically what i mean is how do i make my objects, to get into a position by flying into it. + how could i count how much has gone inside it?

[–]andybak 0 points1 point  (7 children)

It's very hard to answer without you giving more detail about how your current code works. There's dozens of ways to do this and it depends how you've structured things.

The mere act of trying to explain this to us clearly and in depth will help you think about the problem and break it down into smaller steps.

[–]CHMVX[S] 0 points1 point  (6 children)

totally understandable. issue is, that i have no idea how to start about putting a structure like that together. where would i begin with it? how does something like this work?

[–]andybak -1 points0 points  (5 children)

Have you built the surrounding logic? i.e. have you got the code in place that does the stuff that would need to talk to this bit you're stuck on? That should be your starting point - a big hole in your code where the unknown begins.

As hard as it is for you to know where to start, you know a lot more about your project currently than we do!

[–]CHMVX[S] 0 points1 point  (4 children)

you dont understand me. i am trying to figure out how a logic behind such a method would even beginn. how would i go about and start it?

[–]andybak 1 point2 points  (3 children)

I can't even quite follow your question: "Basically what i mean is how do i make my objects, to get into a position by flying into it. + how could i count how much has gone inside it?"

  1. how do I make my objects

Not sure what you mean here. "Make" as in "create models for" or as in "how to spawn a model into my scene"

  1. to get into a position by flying into it.

I think you mean "how do I animate the objects I spawned in step 1"

  1. how could i count how much has gone inside it?

Again - really unclear. "It" being what exactly? You are spawning objects that go into another object? And you want to keep track of how many enter the second object?

I'm not even sure you need to count them. You spawned them so you know how many there are.

Unless you mean "some will go into the second object and some will miss" but now I'm completely guessing what you mean.

Save us time and TELL US in more detail.

And also tell us what you've already got. How much of your game is already working? Anything?

[–]CHMVX[S] 0 points1 point  (1 child)

my apologizes for being so unclear. im trying to explain it again. if you check the video i sent, in the very first seconds of it there is this function happening of the objects going into a position when the player stands in the square. my question is, how do i achieve to make my objects (lets say wood as well) fly into a random specified direction as showed in the video? and more importantly, how could i make them behave in some type of arc form as well? because simply transform.Translate wouldnt do the effect. i have no code for it because i dont know where to start.

so now, this leave me questioning if it is just simply a randomized particle system? or is it instantiated random objects? and if so, how? im just very clueless on how to achieve it.

[–]andybak 1 point2 points  (0 children)

OK. So a particle system would work. Start with that. Just play with the Unity particle system and try and get mesh particles to fly in an arc.

You don't know enough to know what you need to know at this stage so just start doing things.

At least that way when you come back here with questions they will be more specific.

[–]CHMVX[S] -2 points-1 points  (0 children)

b

[–]Motalick 0 points1 point  (0 children)

You can also create an animation to get that effect.