Immovable physics toggle problem

Bugs will be moved here once resolved.

Post » Sun Jan 04, 2015 11:18 pm

Problem Description
If you toggle a physics sprite between movable & immovable while it's sitting on top of an immovable sprite, it falls through the one below when toggling back to movable.

Attach a Capx
Attached below

Description of Capx
As above

Steps to Reproduce Bug
Click on the red sprite to toggle moveability.

Observed Result
Clicking once makes it fall into the floor slightly then move back up. Clicking repeatedly can make it fall through.

Expected Result
I'd like it to not move, but this may just be a limitation of the physics engine.

Affected Browsers
  • Chrome: yes
  • FireFox: yes
  • Internet Explorer: don't know

Operating System and Service Pack
____ Win7 64bit ____

Construct 2 Version ID
190 (64bit)
You do not have the required permissions to view the files attached to this post.
B
27
S
12
G
1
Posts: 157
Reputation: 3,359

Post » Mon Jan 05, 2015 6:18 pm

Sorry, I'm not sure there's anything we can do about it - it looks like that's just how the Box2D physics engine responds to the settings, and that code is maintained by the Box2D developers. FWIW it seems to do it less (but still a bit) in asm.js physics mode.
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,361


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests