How do I pin a turret onto a moving object?

0 favourites
  • 2 posts
From the Asset Store
Wall Pin Board is a hyper causal game developed for fun and inspired by YouTube video whose link is given in description
  • Hi everyone

    I'm creating a singleplayer boat shooting game and the enemies are boats with turrets pinned to them... That's what I planned for.

    As soon as the boat starts moving, the turret doesn't move and just stays perfectly still, not pinned onto the boat. Are the Turret and Pin behaviors not compatiable?

    If I could get a reply ASAP, that would be amazing.

    Cheers

    -Reconnaissance

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • If you use 'pin'. You have to pin it in an action. A specific instance to another specific instance.

    With 1 boat you just do it in the 'on start of layout.

    But i suppose you will have more boats. Then you have to do it on creation. Preferable combined with the use of containers.

    Logic:

    Create the boat. (when using a container it will auto create the turret)

    Place the turret (it will be automaticaly in a picked state, so no additional picking needed)

    Pin the turret to the boat. (due the container the right boat and the right turret wil be picked)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)