getoneintersectingobject(name.class) what does it do?
Does it check whether it intersect/touch the name.class?
Yes, but there is more to it than that. It returns a reference to an intersecting
Actor object of the type (
?.class) given. If no actor of that type is found to be intersecting, it returns a
null value.