How does "Set Velocity" work?

Get help using Construct 2

Post » Thu May 23, 2013 9:50 pm

Hi.

Call me stupid but I can't seem to understand how Set Velocity works in the Physics behaviour.

What does it do?
What is the X component, what is the Y component?

There's very little discription in the manual..

Thanks in advance!
B
10
S
3
Posts: 233
Reputation: 1,537

Post » Thu May 23, 2013 10:37 pm

It's pretty simple. If you set the velocity to a positive number it moves right (x) or down (y), and if it's negative, it moves left (x) and up (y).
With a combination of both you move diagonally.

Density, friction (of this and the object it is moving against) and linear dumping will slow the object down over time.
B
83
S
21
G
15
Posts: 1,039
Reputation: 15,134

Post » Thu May 23, 2013 11:04 pm

Thanks for the explanation. Got it to work exactly as i wanted it to : )
B
10
S
3
Posts: 233
Reputation: 1,537


Return to How do I....?

Who is online

Users browsing this forum: Zebbi and 24 guests