Some actors will collide, while some don't? How come?

In my game I have actors spawning at random locations at the top of the scene, and falling to the bottom. Once they reach the bottom, they are set up to collide with the "floor" actor and to be destroyed, but while some get destroyed, others just fall right through my "floor" without colliding or getting destroyed. I am not sure why. help?

Best Answer

  • UtopianGamesUtopianGames Posts: 5,692
    edited June 2013 Accepted Answer
    Is the floor actor set to none movable? Sounds like they're hitting the floor causing it to move?

    You could also use code instead of the floor actor if self position y < 0 destroy.

    Darren.

Answers

  • FajlajpFajlajp Member Posts: 666
    What are you running? Mac or Pc? Could you send me the project?(or screenshots of the rules)
  • SoxProcsSoxProcs Member Posts: 11
    I am running on mac, but i am unsure how to post the screenshots on to the forums.
  • SoxProcsSoxProcs Member Posts: 11
    No the floor actor is not movable. The weird thing is that about 3 quarters of the actors do what they are told, but then just a few will go right through the bottom instead of being destroyed?
  • TheGabfatherTheGabfather Member Posts: 633
    edited July 2013
    This happens for me too from time to time, with different projects.
    I think it has to do with the moving Actors moving at such a fast pace the Rule doesn't have enough time to finish checking the conditions (but not all the time, because most of them do get destroyed, right?).

    A form of remedy for me would be making sure Actors involved have as few Rules in them as possible. Also try Darren's suggestion about checking the Attributes instead of checking for Collide or Overlap -- that's what I do too when I can't trim down the Rules any more.
  • SoxProcsSoxProcs Member Posts: 11
    I decided to just set it that once it reaches a point on the Y that is destroy itself, luckily for my project this method will have the same effect but it works 100% of the time. Thanks for the help and input though!
Sign In or Register to comment.