How do I Rotate a sprite in the center?

Get help using Construct 2

Post » Mon Sep 12, 2016 2:10 pm

Hi,

I have a sawblade(bullet) that my character can throw. I'd like the sprite to rotate as it is being thrown.
If I use the rotate behavior the sawblade rotates but it spins in a large radius rather than keeping in its straight while rotating.

Any help is appreciated.
B
9
S
1
Posts: 24
Reputation: 513

Post » Mon Sep 12, 2016 2:14 pm

My guess is that the origin of your sprite isn't right on its center. Can you provide a .capx ?
B
12
S
7
G
7
Posts: 450
Reputation: 4,276

Post » Mon Sep 12, 2016 2:29 pm

Yup, I should have mentioned the origin is centered.
capx: https://dl.dropboxusercontent.com/u/53823971/RotatingWeapon.capx
B
9
S
1
Posts: 24
Reputation: 513

Post » Mon Sep 12, 2016 2:36 pm

Remove "set angle" in the bullet properties. :)
B
12
S
7
G
7
Posts: 450
Reputation: 4,276

Post » Mon Sep 12, 2016 2:43 pm

Dude, thanks!! I feel kinda dumb :)
B
9
S
1
Posts: 24
Reputation: 513


Return to How do I....?

Who is online

Users browsing this forum: ladjuric, plinkie, Syazanie Amirin and 4 guests