FlxG.collide sometimes doesn't work #2327
-
Beta Was this translation helpful? Give feedback.
Answered by
RichardBray
Jun 22, 2021
Replies: 1 comment 8 replies
-
I've had better experiences using Although, have you tried adding the collision in the update function of the FlxTypedGroup class? |
Beta Was this translation helpful? Give feedback.
8 replies
Answer selected by
TheHENOOB
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've had better experiences using
FlxTypedSpriteGroup
overFlxTypedGroup<FlxSprite>
https://api.haxeflixel.com/flixel/group/FlxTypedSpriteGroup.html
Although, have you tried adding the collision in the update function of the FlxTypedGroup class?