Use Physics Behavior + Move object forward

Get help using Construct 2

Post » Fri Oct 11, 2013 2:30 pm

How can i use the physics behavior and still let the object move forward?
Apply force doesnt work how i want it,
since i need the object to move at a constant pixel per second rate.
Basically the Move Forward is what i need,
but then the Physics behavior wont work.
- Conti

(the object i want to move should be movin like a tank)
"It's done when it's done"

Shadows of War
Buy on Steam ;)
B
24
S
10
G
7
Posts: 253
Reputation: 4,931

Post » Fri Oct 11, 2013 3:20 pm

A tank doesn't go from standing still to a constant movement at once, does it?

Physics has a lot of properties, like gravity, elasticity, friction. You could play around with these.

You could also set your tank as an immovable object and move it with move forward or any other move command if physics shouldn't affect it, but it should affect physics.

Is this a top-down or side-view game and is using physics uour best choice? Platform behaviour and bullet behaviour also have gravity, so for some games choosing either of those would be better.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat Oct 12, 2013 9:26 am

Its a Side view game.
The problem with the platform behavior is,
that it doesnt set the angle of the tank.
If it drives up a hill,
it also should have set the angle so it looks realistic.
"It's done when it's done"

Shadows of War
Buy on Steam ;)
B
24
S
10
G
7
Posts: 253
Reputation: 4,931

Post » Mon Dec 23, 2013 11:38 pm

@SgtConti

Heloo :)

Did you find any sollution to your problem ?
B
35
S
11
G
3
Posts: 97
Reputation: 3,478

Post » Mon Dec 23, 2013 11:43 pm

@stefanos yes,
i just used Velocity (If you use it, you should make it with dt ;) )
Works as i intended it to work.
"It's done when it's done"

Shadows of War
Buy on Steam ;)
B
24
S
10
G
7
Posts: 253
Reputation: 4,931


Return to How do I....?

Who is online

Users browsing this forum: Blendi1223, Username05 and 35 guests