Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


#ActualYura

Posted 11 February 2013 - 06:39 AM

Hi,
I'm trying to render XYZ axes arrows using textures and Sprite.Draw(...) method. 
I'm using Matrix.RotationYawPitchRoll(...) for rotation the rendered object around the axes and I want my axes arrows to rotate around it's own origin point in the same direction as the object. 
 
So, my question is, how to make volume XYZ axes arrows texture for further its rotation ?
 
Something like this:[attachment=13581:axes.png]

#1Yura

Posted 11 February 2013 - 06:25 AM

Hi,
I'm trying to render XYZ axes arrows using textures and Sprite.Render(...) method. 
I'm using Matrix.RotationYawPitchRoll(...) for rotation the rendered object around the axes and I want my axes arrows to rotate around it's own origin point in the same direction as the object. 
 
So, my question is, how to make volume XYZ axes arrows texture for further its rotation ?
 
Something like this:[attachment=13581:axes.png]

PARTNERS