- Home /
Random position of an object spawned from a spawn point?
Hello guys! How can i make a script that make my exploded bullet randomly go right from my gun? I have tried doing that making a spawn point and using a "Vector3(Random.Range)" but it doesn't work. Here is a video , just to make you an idea ;) link text
Any idea?
did you tried Vector3(Random.Range) or Vector3(Random.Range($$anonymous$$,max), Random.Range($$anonymous$$,max), Random.Range($$anonymous$$,max))?
Weird ... Any errors? $$anonymous$$ethod insertion? TYpo? the logical way is to put the random.range in the method where the bullet start moving
Yeah , it's weird ! And no error ... I'm still stuck here! :/
Your answer
Follow this Question
Related Questions
Random.Range Vector3 2 Answers
How are vector3s instantiated? 2 Answers
Random spawn script not working correctly 3 Answers
Using Vector3 in ViewportToWOrldPoint 1 Answer
Non-repeating random number generator crashing unity 1 Answer