[r216] Bullet bounce bug

Bugs will be moved here once resolved.

Post » Mon Nov 30, 2015 1:04 pm

Problem Description
If a bullet is told to bounce of another object and the speed is set to 0, the bullet will jump to a X,Y coordinate of NaN, NaN.

Attach a Capx
https://dl.dropboxusercontent.com/u/109921357/Bullet_bounce_bug/Bullet_bounce.capx

Description of Capx
A sprite with platform and bullet behaviour, when the sprite is moved in contact with another sprite, its told to bounce off it with 0 speed.

Steps to Reproduce Bug
Press D to move the sprite into contact with the other sprite.

Observed Result
The sprite with bullet behaviour disappears and according to the debugger it is moved to an X, Y coordinate of NaN,NaN

Expected Result
That the sprite would stop next to the sprite when it contacts.

Affected Browsers


Operating System and Service Pack
Windows 7

Construct 2 Version ID
r216
B
44
S
11
G
2
Posts: 1,181
Reputation: 6,816

Post » Wed Dec 16, 2015 6:16 pm

Should be fixed in the next build. Note your .capx was wrong: it does the bounce action before enabling the behavior and setting the speed.
Scirra Founder
B
381
S
222
G
84
Posts: 23,975
Reputation: 189,160


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest