- Home /
The question is answered, right answer was accepted
Get then Set position on X and Y
Hi, I want my character to get the position of the Trigger it has entered when they stop and have the player adjust itself and align to the center point of the Trigger.
example attached of what im after, i need to ignore the Triggers Y position and keep players Y position.
Thanks
Nick
Sorry i meant to say to align it on X and Z axis but ignore the Y position
Answer by Jeff-Kesselman · Jun 02, 2014 at 02:47 PM
http://docs.unity3d.com/ScriptReference/Collider2D-bounds.html
Google plus docs == an amazing wealth of information
Follow this Question
Related Questions
creating an asteroid-like game in 3d 0 Answers
how to set rotation / position of an object on trigger? 2 Answers
Get position of collision with triggers? 1 Answer
Instantiate breaking at certain positions? 0 Answers
transform postion trigger problem HELP! 0 Answers