Question - D&D Basic Collisions not Working, please help!

Discussion in 'GameMaker Studio 2 Community Tech Support' started by Josh Perkey, Jul 24, 2019.

  1. Josh Perkey

    Josh Perkey Member

    Jul 23, 2019
    I have a character object and it won't collide with my solid building object (or any solid object, for that matter.) I've set up a collision event between that and my solidObjectParent object (parent object of all objects that have collisions with character object). From that, I have a buildingObjectParent (parent object of all objects that are buildings and can be entered) which is the child of the solidObjectParent (since it should collide with the character). I've tried setting up a collision event with the solidObjectParent, the buildingObejctParent, and the building objects themselves to no avail. I've watched two or three basic collision YouTube videos and have followed them step by step (or so I believe) and my collisions still aren't working. I'm using the same collision mask as the sprites for all of these objects. I have the 30 day trial, however I believe it's a trial of the full version so I'm not sure why that would be causing a problem.

    Version: IDE v. Runtime v.

    Character: Screen Shot 2019-07-23 at 6.54.06 PM.png

    Solid Parent Object: Screen Shot 2019-07-23 at 6.54.53 PM.png

    Building Parent Object: Screen Shot 2019-07-23 at 6.55.10 PM.png

    Building Object: Screen Shot 2019-07-23 at 6.55.28 PM.png

    Building Sprite/Mask: Screen Shot 2019-07-23 at 6.55.58 PM.png

    Thanks for any help you can give!
  2. sinigrimi

    sinigrimi Member

    Dec 29, 2019
    I'm not an expert, but it seems to me that the fact is that your player uses physics and there are no other objects, try to play with this
  3. chirpy

    chirpy Member

    Oct 6, 2016
    IIRC solid is a flag for mp_potential_path to avoid obstacles and does not cause collision against physics enabled objects.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice