How to adjust the angle of the pivot with respect to the sprite?

0 favourites
  • 5 posts
From the Asset Store
Adjusting the game screen for different resolutions (Letterbox scale)
  • Hi, is there a particular option or method to reset the rotation of the origin pivot of a sprite?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't understand.. The origin point doesn't rotate, it's the center of rotation of a sprite.

    Do you want to rotate the sprite around a different point?

  • I just want the tip of the projectile that is at -90° to the degree 0 that is to the right of the projectile, when the projectile itself is generated, it has to aim or in a certain sense rotate toward the angle that it has to travel...

  • So the tip of the projectile in the sprite is at -90 degrees (pointing up), correct?

    The easiest solution is to simply rotate the image in the animation editor.

    If you can't do that for some reason, you can also disable "set angle" in Bullet properties and set the angle on every tick to Self.Bullet.MovingAngle+90

  • However, I solved it yesterday with a simple arithmetic calculation between angles regarding the direction of the projectile. But now I am creating the same mechanism in a more elegant way at the event level and adding details. Thanks anyway for the advice

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