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
71
S
41
G
24
Posts: 358
Reputation: 18,468

Post » Tue Aug 08, 2017 5:17 pm

Maybe try timescale instead.
Image ImageImage
B
172
S
50
G
188
Posts: 8,503
Reputation: 118,225

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
405
S
238
G
91
Posts: 24,759
Reputation: 197,262


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest