Custom Collision Shapes not Working

I have the following Problem:

When i use custom collision shapes they dont work. Instead of the custom shape, the shape is a rectangle which is about half of the size of the Actor. I already tried both tools: PhysicsEditor and PhysicsBodyEditor but the result was the same. How can i fix that?


Best Answers

  • JapsterJapster Posts: 672
    Accepted Answer

    Is it worth re-creating the actor(s), even in a different test project, to see if it can be made to work? - I've had weird quirks happen with my projects, corruption that isn't readily apparent, and yep, once I had to transfer all of the behaviours in an actor that just wouldn't work - adding it to the scene froze my game, yet re-creating it and copying the behaviours across worked fine...

    Other than that, I'm officially out of ideas on how to get around this crappy bug... :frowning:

  • SocksSocks London, UK.Posts: 12,822
    Accepted Answer

    @Johannes Fuchs said:
    I dont think it will be fixed soon :/
    My entire Project depends on that

    Get some kind PC soul to import the custom collision shapes to your project - and then send it to you.

Answers

  • smurftedsmurfted Member, PRO Posts: 586

    I know that html doesn't support the custom collisions...

  • Johannes FuchsJohannes Fuchs Member Posts: 6

    @smurfted said:
    I know that html doesn't support the custom collisions...

    I tested it in gamesalad for windows and in the android viewer.

  • JapsterJapster Member Posts: 672
    edited January 2017

    @Johannes Fuchs said:

    @smurfted said:
    I know that html doesn't support the custom collisions...

    I tested it in gamesalad for windows and in the android viewer.

    @Johannes Fuchs - You may well find what I found out - if you do not change the collision shape to custom, and select the correct file, BOTH in your instance of the actor, AND the prototype, GS seems to get very confused - caused me quite a bit of frustration when re-using level actors, until I figured it out.... :smiley:

    Hope that helps!

  • Johannes FuchsJohannes Fuchs Member Posts: 6

    @Japster said:

    @Johannes Fuchs - You may well find what I found out - if you do not change the collision shape to custom, and select the correct file, BOTH in your instance of the actor, AND the prototype, GS seems to get very confused - caused me quite a bit of frustration when re-using level actors, until I figured it out.... :smiley:

    Hope that helps!

    I checked that an both were set to "Custom".

    Another thing that i discovered:
    When i select "Custom" in instance im not even asked which file i wandt to use.
    Maybe it is a bug and thats why its not working? Should i get the "Select Collision Data" window displayed when i select "Custom" in insanance?

  • JapsterJapster Member Posts: 672

    @Johannes Fuchs said:

    @Japster said:

    @Johannes Fuchs - You may well find what I found out - if you do not change the collision shape to custom, and select the correct file, BOTH in your instance of the actor, AND the prototype, GS seems to get very confused - caused me quite a bit of frustration when re-using level actors, until I figured it out.... :smiley:

    Hope that helps!

    I checked that an both were set to "Custom".

    Another thing that i discovered:
    When i select "Custom" in instance im not even asked which file i wandt to use.
    Maybe it is a bug and thats why its not working? Should i get the "Select Collision Data" window displayed when i select "Custom" in insanance?

    Yup, this is what I meant @Johannes Fuchs - I should have been clearer - you'll have to deselect 'CUSTOM' first, either by selecting rectangle or circle, then re-select CUSTOM, it should then prompt you... :smiley:

    That worked for me...

    but to be certain, do it on BOTH - actor, and protoype... :wink:

  • Johannes FuchsJohannes Fuchs Member Posts: 6

    @Japster said:

    Yup, this is what I meant @Johannes Fuchs - I should have been clearer - you'll have to deselect 'CUSTOM' first, either by selecting rectangle or circle, then re-select CUSTOM, it should then prompt you... :smiley:

    That worked for me...

    but to be certain, do it on BOTH - actor, and protoype... :wink:

    Thats what i did. I should have been clearer too. I de-selected and re-selected "Custom" in both - prototype and instance, but only in prototype the window appeared. In instance nothing happened. Thats why im not sure weather this is a bug or im using it wrong.

  • JapsterJapster Member Posts: 672

    @Johannes Fuchs said:

    @Japster said:

    Yup, this is what I meant @Johannes Fuchs - I should have been clearer - you'll have to deselect 'CUSTOM' first, either by selecting rectangle or circle, then re-select CUSTOM, it should then prompt you... :smiley:

    That worked for me...

    but to be certain, do it on BOTH - actor, and protoype... :wink:

    Thats what i did. I should have been clearer too. I de-selected and re-selected "Custom" in both - prototype and instance, but only in prototype the window appeared. In instance nothing happened. Thats why im not sure weather this is a bug or im using it wrong.

    Ahh.. right.... In that case, I'm afraid I'm out of ideas... :frowning: Are you using the very latest release of GS? - might be worth trying the previous or current one, depending on which one you're using?

  • Johannes FuchsJohannes Fuchs Member Posts: 6

    @Japster said:

    Ahh.. right.... In that case, I'm afraid I'm out of ideas... :frowning: Are you using the very latest release of GS? - might be worth trying the previous or current one, depending on which one you're using?

    Im using version 1.25.59

    It seems to be a confirmed bug:
    http://bugs.gamesalad.com/show_bug.cgi?id=1781
    http://bugs.gamesalad.com/show_bug.cgi?id=1734

    I dont think it will be fixed soon :/
    My entire Project depends on that

  • ZulfikarZulfikar Member, PRO Posts: 11

    Seems to be a bug. Hope they will remove the whole feature unless they get it working properly so that the developers don't waste their time struggling with it like I did yesterday. This bug also gives quite a bad first impressions of the Pro version. Even though otherwise I've been quite satisfied with the Game Salad.

    The results I got were that the collision shape remained rectangle or then there was no collision shape at all (collide effects stopped happening for the actor). Has anyone created some simple demo project where this feature actually works?

    Luckily my entire project doesn't depend on that but the lack of this "only in pro version" feature affects my game's game play experience pretty much.

  • eoineoin Member, PRO Posts: 36

    I am in the same place, I have purchased Physics Editor for a new project and The Custom Collisions just do not work now. They just revert to Rectangle, Pretty Annoying. can anyone confirm or deny that Custom Collision Shapes are working for the Mac version of GS

  • fmakawafmakawa Member Posts: 565

    @ForumNinja @adent42 is this a confirmed bug?

  • eoineoin Member, PRO Posts: 36

    I know why this isn't working, you need to create a new actor on stage that initialises the Collision detection, when the collision detection is initialised the collision shapes are defined/drawn.

    So create a new actor on stage and give it the behaviour "collide" and set it to actor of tag = x,y,z

  • Twayne2Twayne2 Member Posts: 458

    Collision shapes work fine for me. At least pretty well. Not exact I would think, but perhaps close.

Sign In or Register to comment.