Hello,
Can i avoid an object leaving another object?
Thanks
Do you mean stick together ?
use the pin behavior.
Develop games in your browser. Powerful, performant & highly capable.
No i didnt mean that
i mean little object can move inside bigger object , but cant go outside it.
Also bigger object doesnt move.
You mean like this :
Yes, but it works for platform behaviour, i want it with drag and drop behaviour. With drag and drop, you can drag it outside the box
you can make the drag and drop behaviour drop the object..
Make invisible squares arond the object and on collision drop..
Or have it done by an equation, maximum distance from center or have it react to the bounding box..
Okay i'll try thank you.