Construct 3 r490

You're viewing a single comment in a conversation. View all the comments
  • 5 Comments

  • Order by
  • Very exciting! But setting Y rotation for 3d Shapes appears to always rotate the object as if its origin Z position is 0.

      • [-] [+]
      • UpvoteUpvote 1 DownvoteDownvote
      • Ashley's avatar
      • Ashley
      • Construct Team Founder
      • 1 points
      • (3 children)

      You can change the Z origin for 3D shapes with their Z origin property!

      • That works if the object's Z position is 0 but not at other values. Try creating a 3d Shape with Z Origin set to Middle and every tick setting its RotationY to something like Self.RotationY+30*dt. Run and observe that it spins as expected. Now set its Z to 128 and observe that it still rotates around 0, but offset.