Is there a way to set the origin of a node

Is there a way to set the origin of a node so that future translations move the node based on it's new origin. Here is an example drawing:
9 Replies
JavaBot
JavaBot3y ago
Hey, @Kar.Jar! Please remember to /close this post once your question has been answered!
Carter
CarterOP3y ago
No description
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Carter
CarterOP3y ago
It's a JavaFX question. Not sure what a tile map is
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Carter
CarterOP3y ago
the solution was quiet simple. I have to use .setTranslateX and .setTranslateY to change the position of the origin. :facepalm:
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Carter
CarterOP3y ago
hm don't think those are in JavaFX. then again I wouldn't expect it to because it's not really a game library anyways thanks for the information, I'll keep that in mind.
JavaBot
JavaBot3y ago
Post Closed
This post has been closed by <@361324748359335948>.
Want results from more Discord servers?
Add your server