First, what is the center of rotation?
I’m not quite sure this is the term for it, but it’s basically the invisible spot on an object around which the object rotates. In Hopscotch, it’s literally at the center of an object.
Next, how can this be used?
So, if, let’s say, you have a character with a sword in an RPG. He swings the sword. Since the center of rotation is at the center. The sword will appear to be swung from the center and not at the hilt.
You would need to do much more coding to make this look fine.
If you can place the center of rotation at the hilt, it would turn to look like the character had swung it.
How can this be put into code?
I actually have no clue about this one, but I’m open to ideas!
I have probably explained this poorly, so let me know if you want me to elaborate and I’ll try my best.
- This needs to be on Hopscotch!
- I’m confused.
- I don’t think this is a good idea.