starting and stopping bullets changes angle of motion

Bugs will be moved here once resolved.

Post » Tue Aug 08, 2017 4:21 pm

Problem Description
starting and stopping a bullet changes it's angle of motion

Attach a Capx
https://www.dropbox.com/s/8xd2jhlp399yt ... .capx?dl=0

Description of Capx
starts and stops all bullets every 0.25 seconds

Steps to Reproduce Bug
    1) Set bullet speed to 0
    2) Set bullet speed to a different speed

Observed Result
Bullets change angle of motion

Expected Result
Bullets continue at current angle of motion

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

Operating System and Service Pack
Win 7 SP1

Construct 2 Version ID
C2 x64 v245
B
69
S
40
G
24
Posts: 355
Reputation: 18,312

Post » Tue Aug 08, 2017 5:17 pm

Maybe try timescale instead.
Image ImageImage
B
170
S
50
G
179
Posts: 8,379
Reputation: 113,427

Post » Fri Sep 15, 2017 2:40 pm

This has been reported a few times before. A stopped bullet has no angle of motion, because it's not moving, so it goes to 0. So it's just the way the maths works out. You just need to set the angle of motion after setting the speed.
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: Yahoo [Bot] and 5 guests