- Home /
Question by
MisterMortal · Sep 07, 2014 at 05:56 PM ·
editorscenehandles
Issues with Handles not being at a right position
Hey fellow developers! I encountered this problem, to set couple of position vectors in my game object I use Handles.FreeMoveHandle method and for cap function I use Handles.RectangleCap. Everything works fine, I can move those rectangle caps freely and position vectors change according to them. The problem is, when I move my game object from the center coordinates, those rectangle caps doesn't move with it. Here is my code:
mb.firstPos = Handles.FreeMoveHandle(mb.firstPos,
Quaternion.identity,
0.08f,
Vector3.zero,
Handles.RectangleCap);
And here is some screenshots:
Thank you in advance!
Comment
Your answer
Follow this Question
Related Questions
Drawing Handles 1 Answer
Rendering a camera to an Editor Window 2 Answers
Scene Box/Rectangle Editor. Does one exist? 0 Answers
Left Click Up Event in Editor 4 Answers
cannot open a unity scene 0 Answers