1
General / How would you go about translating a transformable ?
« on: March 08, 2018, 10:43:07 pm »
Hi
I have a Node object that inherits from sf::Transformable
and im able to move, rotate and scale it perfectly.
I was just wondering if it was also possible to translate its position by a given length?
the documentation doesn't seem to show any 'translate()' function ?
Im not very strong with vector math so im sorry if this is very simple
Thanks
I have a Node object that inherits from sf::Transformable
and im able to move, rotate and scale it perfectly.
I was just wondering if it was also possible to translate its position by a given length?
the documentation doesn't seem to show any 'translate()' function ?
Im not very strong with vector math so im sorry if this is very simple
Thanks
