hey guys
I want an entity to spread out small balls once the entity dies.
those small balls represent experience for defeating the enemy and the charakter should be able to pick them up.
the collection of the balls is not the problem, but the spreading.
the small balls should randomly jump out of the entity and fall to ground. I use a model for the balls.
to tell the truth i dont even have a clue how to achieve this.
I would assume to set a random pan-value for the respective exp-balls and then somehow move them out of the entity. if it's hitting a wall or the ground it should "bounce" off it (maybe with the bounce vector) and getting slower so that the ball shortly after the spreading lays still on the ground, ready for the charakter to pick it up. but i don't know how to achieve this via script.
i hope that maybe you can help me!
best regards
Roxas