How do I make a tank tread level with ground

Get help using Construct 2

Post » Tue Sep 22, 2015 4:18 am

So I have my little wall-e robot here "https://www.dropbox.com/s/qe4f1jy1521oian/Walle.capx?dl=0" and I want his treads to be level with the ground. I'm currently trying out the revolute joint but it seam to just spaz the treads out.

Player(Wall-e) is controlled with Platformer and has a Physics applied to him
Treads has Physics applied to it and has Disabled Collisions with Wall-e
StartPoint is a Solid and has Physics on it.

All I need is the treads to be able to level with the ground to make the illusion of the treads being the cause of movement. So if I were going forward on flat ground the treads would be level. If I were going upward on a slope the treads would be angled to the slope.
EG v .................. |_| = Wall-e.........o O = Treads........_____ = ground
-----------|_|
________o O_____
____\ ....................... Probably not that extreme of a climb but hopefully it gets across what I mean
_____o |_|
______O
_______\
________\
B
3
Posts: 5
Reputation: 185

Post » Tue Sep 22, 2015 7:31 am

it is rarely a good idea to mix the physics behaviour with others.

If you don't have a better answer before I get home I will try to come up with something for you...
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892

Post » Tue Sep 22, 2015 7:47 am

ok - now i'm late !

quick test - needs (a lot of) work

https://goo.gl/QmWFcx
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892

Post » Thu Oct 22, 2015 3:30 pm

OMG sorry for the VERY late reply, Kind lost internet access for a while after that day then forgot this even existed till I found the file again today.
I just had a look at your .capx, Although it is quicker and easier to apply to something small, It does has the problem of not being smooth, which is really what I'm looking for.
I "was" planning to figure a possible suspension, and many surfaces for wall-e to go on. I "was" going to make this more of an extended adventure game so having the treads be more applicable to different and probably more complicated terrain would make the focus on the world easier. I might actually play around with a null player object and have the wall-e physics constantly apply a force towards it. I'll touch back, this time within a day or two, sorry for the month no reply, I appreciate you helping me though :)
B
3
Posts: 5
Reputation: 185

Post » Fri Oct 23, 2015 6:20 am

Nvm, your idea is way easier for the program. Thanks for helping me :D
B
3
Posts: 5
Reputation: 185

Post » Fri Oct 23, 2015 8:04 am

I had also forgotten about this post :) Glad it helped.
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], plinkie, R0J0hound and 8 guests