how do i stop turrets from rotating sprites?

0 favourites
  • 6 posts
From the Asset Store
10 turrets rendered in 3D with top down and menu views. Three upgrade levels per tower.
  • I'm using the turret behaviour on a sprite, and while it works, it also rotate the sprite. Is there a way to leave the effect on without the sprite rotation? I'm using separate sprites for now (one for the "image" and the other for the turret funciton) but i'd be interested in another solution

    Tagged:

  • There's a checkbox on the behaviour called Rotate, uncheck the box

  • There's a checkbox on the behaviour called Rotate, uncheck the box

    I know, but doing so makes the turret not work properly.

    I want the turret to be able to check and shoot on all 360 angles, without the sprite rotating. If i uncheck the box, it will shoot only in one direction

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can set the direction of the bullet yourself, can use 'set angle toward position' of the player when it spawns.

  • You can set the direction of the bullet yourself, can use 'set angle toward position' of the player when it spawns.

    Yep, that did the trick, thanks!

    This might be a bit to much but, is there a way so that the bullet spawn doesn't rotate its angle? I thought there was an option like "set angle towards position" for the bullet behaiour, but there isn't.

    It's a bit jarring to me seeing pixel at an angle.

  • If it's using bullet behaviour you can set the angle of motion

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