Stickman Glitch

  • Xenocide
    12th Aug 2010 Former Staff 0 Permalink
    the wall never triggers
  • savask
    12th Aug 2010 Developer 0 Permalink
    I don't know, maybe it's something with collisions algorithm.
  • Xenocide
    12th Aug 2010 Former Staff 0 Permalink
    Found the problem...

    ./powder.c
    [...]
    884 if(parts[i].type==PT_STKM) //Stick man's head shouldn't collide
    885 {
    886 return 1;
    887 }
    [...]

    guess it ain't a bug...
  • savask
    12th Aug 2010 Developer 0 Permalink
    Is the problem that I wrote that his head shouldn't collide, or what? I think it should go through materials.
  • Xenocide
    12th Aug 2010 Former Staff 0 Permalink
    Based on that the stickman can "pick up" elements, it should be able to go through materials; however as a wall is not a material it should collide.
  • savask
    12th Aug 2010 Developer 0 Permalink
    No, his head shouldn't collide with walls too, because you can cover elements in the wall.
  • Xenocide
    12th Aug 2010 Former Staff 0 Permalink
    you can contain elements using walls and control what class of elements passes through certain walls, as the stick man doesn't really have a set class (PT_SPECIAL) it shouldn't be able to pass through most walls. The head should follow the same collision as the legs really IMO.
  • savask
    12th Aug 2010 Developer 0 Permalink
    No. It will go through walls. Look at the powder toy - stick man's head there goes through walls too.
  • Xenocide
    12th Aug 2010 Former Staff 0 Permalink
    Stickmans head will pass through walls, his legs (mostly) don't.

    My opinion is that nothing should be able to pass through a solid wall, stickman should follow the same "rules" as particles in this sense and no part should be able to pass through a wall.

    You try putting your head through a wall, it just doesn't happen (without a lot of pain anyway)
    I understand TPT isn't meant to be realistic but to me this is strange.

    I would like to know other peoples opinions on this as well.
  • savask
    12th Aug 2010 Developer 0 Permalink
    No, no, no. Head is more "virtual" than real in PT, so it can pass through walls, and it makes a lot of funny things possible. Like automatic dispencers which will give water to the stick man only if his head is in the button, or captureing him with the detector wall. And making his head transparent for walls fixed a lot of bugs, so I think, I'll keep it so.