IS IT A BUG?

catinas

  • Posts: 54
collision groups that lets select wich actors colide with wich is not woring corectly

p.s. please help me

Luyren

  • *
  • Posts: 2774
That is not enough information for us to help you. You need to provide the following:
-The actor group settings;
-The group assigned to the actors you want to collide;
-The physics settings for your actors.
If you need a general run-down on collisions, watch this: https://youtu.be/TIGInUgT67A
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.

catinas

  • Posts: 54
I want actors group  to collide with which other and also with players.  but players group will be not able to collide with players group but could touch actor group

Im simply clicking groups to light up green  to be able to touch written group

tryed other way around and it still not working as intended.

Thank you in advance and for quick replies

catinas

  • Posts: 54
im using joints extension could it be it interfiers with collisions?

Luyren

  • *
  • Posts: 2774
Quote
Im simply clicking groups to light up green  to be able to touch written group
If you are justi clicking stuff without purpose it is unlikely you'll achieve anything with it. The video I linked explains pretty thoroughly collisions, actor groups and setting them up, so give that a watch first. You also haven't provided what I listed in my previous post (or it wasn't clear to me).

I don't think the use of the joints extensions would affect collisions, but I am unfamiliar with it.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.

catinas

  • Posts: 54
Thanks video is great.  Specialy for beginers wich is most important steps. 

-The actor group settings = is it those green or gray depending on state?
-The group assigned to the actors you want to collide = is the same group but some colide some not tho they are joined togggether
-The physics settings for your actors = unchanged sefault ones

catinas

  • Posts: 54
im creating colision shapes in behaviors and asigning them to group. also i change actors group to desired one. but i setings where is green or gray collisions i have to make more of groups and if i want them to collide i must chack to colide with actors otherwise colision dont work at all

sorry for the mess but im gesing there is a possability sometimes a bug apers than i edit groups and set them in difrent ways

catinas

  • Posts: 54
i need (USER group) to not interact with wich other but be able to touch (OTHER group)

Luyren

  • *
  • Posts: 2774
Why are you even creating collision shapes for your actors with code? There is a collision shape editor, just use that. Your last screenshot shows that you have no collision shape for your actor, so of course they won't collide.

Place two actors on a scene, make them move towards each other, configure the actor groups the way you want them (green means they can collide with each other), assign the correct actor group to your actors and make their collision shapes solid (not sensor). In the physics tab, "What type of actor" should be set to normal. If they stop when they hit each other it means they can collide with a physical response.

My guess is that your code is not creating your collision shapes as you think they should be. Just use the collision editor.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.