Collision Sides?
-
So. Most FlxObjects have 4 collision values right? Up. Left. Right. Down. Right?
So, let's say I have a falling object. And I want it to collide with other fallen objects. But I ONLY want the object to collide, well, on the Down edge of the object?
Is there a way to set this or am I overthinking it?
-
What you're looking is allowCollisions
object.allowCollisions = FlxObject.DOWN;
-
Hm. All righty. Thanks!