Stencyl 3.4.0 is now out. Get it now!

Bug Issue: 3.5 - (simple physics) actor can't detect collisions from two directions at once


Pages: 1

NobodyX

  • Master Stencyler
  • *
July 06, 2017, 09:32:07 pm
Using Stencyl 3.5 beta, & simple physics.

The blocks like "<the left/right side of actor was hit>" or  "<the top/bottom of actor was hit>", it stops detecting tiles at the sides when it detects a tile at the top or bottom. It should be able to detect both at once, and I could have sworn it used to just fine, I think?

I have a sample game here where you control your character with the arrow keys and it shows which sides it detects collisions at. http://www.stencyl.com/game/play/37160 And I've attached the .stencyl file too.

(dumb problem in the test game: in flash it appears the booleans that are set when it collides can flicker on and off weirdly, cause it turns them off at the end of the "when drawing" event, just ignore that though)

I've just been testing with tiles, I'm unsure of how collisions with other actors play into this.
« Last Edit: July 06, 2017, 09:38:22 pm by NobodyX »


New attachment added by NobodyX - July 06, 2017, 09:32:22 pm


Pages: 1

Details

  • Reported
    July 06, 2017, 09:32:07 pm
  • Updated
    July 06, 2017, 09:38:01 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    New
  • Priority
    Normal
  • Version
    (none)
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Engine

Tags


Attachments

* CollisionSides.stencyl (323.41 kB - downloaded 7 times.)