i recently ran into a problem that if i go near a tall building (which are clickable units), and my hero's back is facing the building (so my hero and the TPS camera is looking through the building and away) , the TPS camera view makes it hard to click to move away from the building
instead when i click to move away from the building, the mouse selection actually makes my hero turn and move back into the building lol
is there any way to fix this without making all building really short or forcing WASD control?
i tried making building selection size really small but it still clicks the building instead of ground
You can set a flag on the unit. "Unselectable". If you set that, you should be able to click through it.
You might need Untargetable too.. I'm not sure, and I dont want to test now..
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
im working on a mouse movement TPS map
i recently ran into a problem that if i go near a tall building (which are clickable units), and my hero's back is facing the building (so my hero and the TPS camera is looking through the building and away) , the TPS camera view makes it hard to click to move away from the building
instead when i click to move away from the building, the mouse selection actually makes my hero turn and move back into the building lol
is there any way to fix this without making all building really short or forcing WASD control?
i tried making building selection size really small but it still clicks the building instead of ground
thanks
You can set a flag on the unit. "Unselectable". If you set that, you should be able to click through it.
You might need Untargetable too.. I'm not sure, and I dont want to test now..