[Squeakland] [Q] [eToys] Object under?
Karl Ramberg
karl.ramberg at chello.se
Tue Aug 19 21:17:23 UTC 2003
diegogomezdeck at consultar.com wrote:
>
> Hi,
>
> I'd like to get a reference to the morph under the given object. The same
> idea behind color-under but with a reference to a morph instead to a color.
>
> Is it possible?
>
At least in 3.6 there is a test called 'overlaps' and it is a very good
collision detector. You can fx. paint gears that that turn when the
teeth overlaps the other gears teeth.
Lots of fun :-)
Karl
More information about the Squeak-dev
mailing list
|