Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I've tried doing a dirty hack on the code to verify if the alt button is pressed before proceeding with placement but failed miserably so far. XD

The pivot can be the center of the screen, no need for complication, I only need to be able to cancel left click function when alt is pressed. ^^

(+1)

It's something I'm doing in the placement class, possibly the actual raycast.  I will look into it in the next few days.  In the meantime, use the strafe/rotate method from 3D shooters/MMOs.  Hold the RMB and use A and D while moving the mouse in the opposite direction.

Got it, thank you for the quick answer ^^

(+1)

After further research, I found that this will not be possible under the current way Unity works.  When you click to place an object, Unity attempts to use the same click to select an object - usually the one you just placed.  To solve this issue, I had to make MAST eat the click event before Unity could use it.

Simply put, MAST has no choice but to remove normal left-click functions in the scene view during placement mode, or you will experience an extremely annoying side-effect with each click.  Hope this helps.

(1 edit) (+1)

Thank you so much for investigating ^^ To be honest, after I used your tip for turning and moving around, now I'm barely even using alt+left click hahah