- Home /
Question by
MasterLG · Aug 19, 2013 at 09:58 AM ·
game editoreditor extention
Editor Raycast Not Centered
When I use raycasts in my editor script, I notice they're pretty off-center.
I am using the current camera and not the main camera, and I'm not using the camera's transform's position and forward.
Does this have anything to do with the editor window not normally having the game at full screen or is it some other reason?
But mainly, how do I get proper, centered raycasts with my editor scripts?
Comment
Your answer
Follow this Question
Related Questions
Making a tile editor 1 Answer
Are there any simplified level editors? 2 Answers
Inspector Editor, can 2or more Components be group together in a single Tab? 1 Answer
Random Spawnpoints 1 Answer