Actors passing through actors

Matygoo

  • Posts: 6
I'm new and followed Youtube tutorials to the point where i have a 2D platform level with enemies that restart the level when hit (still works) and i can jump over gaps that do the same. But then i was watching a tutorial on collectable items and the items i placed i can't touch i just pass through (Still can touch previous enemies and i'm only working on 1 layer) i deleted and tried placing items again but now anything imake, just new actor > give an animation > place in level, and it's passing through like it's in front. Can anyone help with ideas on how to fix this? Been searching all over hasn't helped yet

Luyren

  • *
  • Posts: 2810
Check the actor groups of your actors, to make sure that they can collide with each other. Check the collision boxes of your actors to make sure you didn't delete them by accident. You might've also set your collision boxes to be sensors for the wrong actors.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.

Rocktapus

  • Posts: 28
Hi Matygoo and welcome to Stencyl

It sounds like your issue might be related to the Collisions & Groups of you actors. Each actor has to be assigned to a group that will determine what it can collied with. In your game have you set up collision groups and assigned your actor to a group that will collied with your collectables?

Check out this article from Stencylpedia on Collisions and groups for more info.

http://www.stencyl.com/help/viewArticle/129

Matygoo

  • Posts: 6
Thanks for the advice, i've been reading all about "Group Collisions" and at first changing them did nothing (I had made a bunch of new Groups because of the Tutorials) anyway after a long time of enabling all the things like "actor" and "players" on/off. It was not working, not work. Suddenly it works now, i'm not sure what specific change did it but if anyone else is stuck on something like this and finds this page it seems the fix lies in Group Collision. Thanks again for pointing me in the right direction