Physics Launching System but Semi-controlled

Get help using Construct 2

Post » Tue Dec 06, 2011 6:46 pm

I am using Physics behavior for a sprite but it seems that I can't control the X independently as I was trying to make a launcher wichich launches vertically. With all the gravity and physics capabilities but I also like it so that I could control the X movement of the sprite while it's still ariborn. How do I do this?
B
16
S
10
G
5
Posts: 255
Reputation: 3,934

Post » Tue Dec 06, 2011 9:01 pm

object.physics.velocityX I believe....
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Wed Dec 07, 2011 6:25 am

No. I can't set velocity of X only. There should also be Y and since the Y should be affected by gravity not by the controls I can't use the Set Velocity.
B
16
S
10
G
5
Posts: 255
Reputation: 3,934

Post » Wed Dec 07, 2011 12:09 pm

[code]Sprite: Set Physics velocity to whatyouwant , Sprite.Physics.VelocityY[/code]
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Wed Dec 07, 2011 12:30 pm

oh crap..of course. now i feel dumb
B
16
S
10
G
5
Posts: 255
Reputation: 3,934


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 25 guests