realtime-CSG-for-unity icon indicating copy to clipboard operation
realtime-CSG-for-unity copied to clipboard

[Request] brush add some event API like OnTriggerEnter?

Open sonygod opened this issue 7 years ago • 4 comments

brush add some event API like OnTriggerEnter OnTriggerMove or something else that can easy to know

relationship between brushs?

what's the easy way to know the samething like that for current version ?

sonygod avatar Oct 26 '16 09:10 sonygod

Do you mean you want some sort of event to determine when a brush touches another brush in the editor? .. can you give me an example where you'd like to use this? maybe there's a better option?

LogicalError avatar Oct 26 '16 13:10 LogicalError

yes,you're right

current I want to add an door to wall at the top view ,so I have to know brush touch event

and onDestory,Awake, OnTriggerExit.OnTriggerMove,will be pleasure.

sonygod avatar Oct 26 '16 13:10 sonygod

Okay, this one will take a bit of work to implement. I'm thinking about putting this functionality outside of brushes though, for performance reasons. Perhaps another component that can be added to either an operation or brush..

LogicalError avatar Oct 26 '16 20:10 LogicalError

sound great!

sonygod avatar Oct 27 '16 02:10 sonygod