How do I move an arrow always looking at the top?

Get help using Construct 2

Post » Sun Nov 23, 2014 4:06 pm

Hi :(

My problem is I don't know what to search to find help... and I don't have the vocabulary to explain it
So here is a picture: Image
The object is a bullet for the moment, is it the correct way?

if I change the rotation the "bullet" doesn't go to the good direction (obviously it's a bullet...)...
if I put "rotate No" in the object's settings it doesn't work :(
I'm sure there is a simple option to unlock the object and it's "rotation" right?

Any help? Please :oops:
I tried everything by myself, I can't fix it :(
B
5
Posts: 46
Reputation: 334

Post » Sun Nov 23, 2014 4:40 pm

You can always use an invisible sprite for the movement, and pin the arrow (position only) on the sprite.
https://www.scirra.com/manual/99/pin
B
74
S
28
G
17
Posts: 256
Reputation: 15,125

Post » Sun Nov 23, 2014 4:50 pm

That's clever! Thank you very much! I'm gonna try that :) I'll edit the title next :)
B
5
Posts: 46
Reputation: 334

Post » Sun Nov 23, 2014 5:26 pm

The simplest way would be setting the "set angle" property of the bullet behavior to "no". Just make sure to control the bullet angle over "set angle of motion" instead of object angle.

quick example: https://copy.com/bOQAGDl1D9Jai8pb
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 787
Reputation: 3,786

Post » Sun Nov 23, 2014 6:37 pm

Both options works thanks ^^
B
5
Posts: 46
Reputation: 334


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, Hayeon, Kermad, OBLIVION, shinkan, Solomon, yiuyiu6666 and 21 guests