How do I have the object face the way its travelling

Get help using Construct 2

Post » Tue May 16, 2017 11:23 pm

Hello Everyone,

So I have one object with 2 sines(vert/hor). The object travels in circular motion but the object is not facing the direction its travelling. How do I make it so it does?

Thank You.
B
24
S
4
Posts: 78
Reputation: 1,308

Post » Tue May 16, 2017 11:52 pm

Use the sine behavior that has a period offset of 0 and use its CyclePosition
expression.
Image
You might need to change 90+ to 270- or something equivalent, depending on how your player Sprite is oriented and whether you are rotating clockwise or counter-clockwise.
"We can't solve problems by using the same kind of thinking we used when we created them."
- Albert Einstein
B
27
S
11
G
8
Posts: 528
Reputation: 7,091


Return to How do I....?

Who is online

Users browsing this forum: Andres941, beohs, brunopalermo and 14 guests