Move turret with tank hull?

Get help using Construct 2

Post » Thu Mar 14, 2013 2:59 pm

How do I attach the tank turret to the hull so when the tank hull moves with the "car" behavior that the turret moves with it? I tried a container but it didn't do anything.

Thanks!
B
3
Posts: 5
Reputation: 310

Post » Thu Mar 14, 2013 3:48 pm

Try the Pin behavior.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Thu Mar 14, 2013 3:48 pm

Hi,

use the pin behavior to pin the turret to the hull
B
45
S
15
G
9
Posts: 1,096
Reputation: 11,038

Post » Thu Mar 14, 2013 4:51 pm

Thanks for the quick reply. The Pin behavior doesn't have any properties? How do I tell it to pin to the hull? I added the PIN to the turret and tested... hull moves without turret. added PIN to hull and same results... added PIN to both turret at hull and same results. Doesn't seem to be working out for me


Thanks!
B
3
Posts: 5
Reputation: 310

Post » Thu Mar 14, 2013 6:12 pm

Here Look, is that what you want?


http://www.mediafire.com/?68axs31dx32ncd7


=)
B
17
S
3
G
1
Posts: 19
Reputation: 1,940

Post » Thu Mar 14, 2013 6:49 pm

Seems that was created in a newer version of Construct. I'm using the free version before I buy. The version is 119 and I don't see a way to trigger the update other than choosing to "check for beta"

B
3
Posts: 5
Reputation: 310

Post » Thu Mar 14, 2013 6:57 pm

Found my answer here:

https://www.scirra.com/tutorials/397/windows-8-pin-and-unpin-objects-dynamically


Didn't know that you had to pin the objects in the events page.

Thanks!
B
3
Posts: 5
Reputation: 310


Return to How do I....?

Who is online

Users browsing this forum: jeffige, Mallets and 25 guests