175 Physics crash

Bugs will be moved here once resolved.

Post » Mon Aug 04, 2014 8:10 pm

Problem Description
Setting size on every tick will crash physics behavior .

Attach a Capx
Done

Description of Capx
It is an example for creating a physics object and scaling it down at every tick

Steps to Reproduce Bug
    Create a physics object from a sprite .
    Put a mouse object to create objects at mouse.x mouse.y
    Create a script to scale the object down at every tick .
    Disable collision between objects.

Observed Result
The sprite stands in the same position crashing the physics properties of the object.

Expected Result
The physics behavior should be still intact.

Affected Browsers
  • Chrome: (YES)
  • FireFox: (YES)
  • Internet Explorer: (YES)

Operating System and Service Pack
Windows 8.0

Construct 2 Version ID
175 beta
You do not have the required permissions to view the files attached to this post.
B
13
S
2
G
1
Posts: 40
Reputation: 2,033

Post » Tue Aug 05, 2014 4:13 pm

Closing as won't fix. Modifying the size every tick causes the engine to have to destroy and re-create the physics body every frame, which probably is what prevents forces acting on it properly. I'm afraid this is just the kind of thing you can't do with a physics engine.
Scirra Founder
B
403
S
238
G
89
Posts: 24,647
Reputation: 196,126


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests