Movement synchronization issues (physics spaceship movement)

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hello, I have an issue in a space game I making. Basically I want a gun turret (a separate object) to move and turn seamlessly with the ship it is intended to be attached to. I can get it to turn and move with the ship however when turning it drifts then resets to the position it is intended to be in and when moving the sprite jitters and jumps about not staying in the position intended, looking very unprofessional. The spaceship uses the new 2.5 spaceship physics movement method to ensure 360 degree turning (I found vectors confusing), I also need the weapons to have 360 turning not eight direction.

    Any help in resolving this issue would be much appreciated.

    Thanks, SecondSons.

  • Hi SecondSons,

    Have a look at this example, take note where the hotspots are on the objects, If your hotspots are slightly off from the centre point of rotation, this would lead to your turret shifting as it rotates. The turret also moves using 360 degree angles towards the mouse, but this can be any point. Hope it helps!

    Please login to see this attachment.

    Cheers
    John

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!