Question by
Censureret · Oct 27, 2017 at 11:16 AM ·
unity 5collidertransformtransform.position
Get Random transform point inside collider
I have an empty gameobject
with a trigger collider. I want to find a random point on the ground inside that collider so that my units are able to patrol the area.
I have been trying to google around and I haven't been able to find an answer :(
Comment
Is the box collider rotated (or are you going to rotate it in the future)?
Your answer
Follow this Question
Related Questions
Transform Position Are Different Each Other 1 Answer
Trigger enter and directly Exit 0 Answers
How to check for collisions only with certain colliders on a gameobject? 0 Answers
Collision problems 0 Answers