- Home /
This question was
closed Jan 27, 2014 at 11:29 PM by
AlucardJay for the following reason:
Duplicate Question : http://answers.unity3d.com/questions/626765/how-can-i-add-a-value-to-one-part-of-a-raycast.html
How can I add a value to one part of a raycast?
I am trying to pretty much make up a way to randomly generate enemies. When a function is called it generates an empty GameObject. The GameObject will raycast down(can I do this without rotating the object). It hits the ground and instantiates an enemy where it hits but I want it to be where it hits + 2 to the y part. Help would be Fantastic.
Comment
Follow this Question
Related Questions
How can I add a value to one part of a raycast? 1 Answer
Randomize Spawn Times 0 Answers
Kill one enemy they all dies? 3 Answers
Raycasting onto a sphere 1 Answer
Generate gameObject horde, more positioned towards front of horde 1 Answer