Discuss Scratch
- Discussion Forums
- » Suggestions
- » new block idea for 3.0 [rotate around x,y point]
- nickliu
-
11 posts
new block idea for 3.0 [rotate around x,y point]
i think that a block should be added that can rotate a sprite around a point.
rotate clockwise () degrees around X:() Y:()
Last edited by Paddle2See (June 4, 2018 11:49:48)
- wWSunPandaWw
-
1000+ posts
new block idea for 3.0 [rotate around x,y point]
No Support, this is a simple and easy workaround:
Do this one to turn clockwise:
Do this one to turn clockwise:
go to x: (18) y: (14) // or any place you want the sprite to goDo this one to turn counter/anti-clockwise:
turn cw (15) degrees
go to x: (18) y: (14)You can also choose a new enter for your sprite in the paint editor using the centering tool, to make it rotate differently.
turn ccw (15) degrees
- E_Equals_EmCeSquare2
-
33 posts
new block idea for 3.0 [rotate around x,y point]
Although workaround-able with
one wouldn't expect younger users to be able to work it out easily, so support for
Plus, it's quite a long workaround.
define turn cw (θ) degrees around x: (x) y: (y)
set [radius v] to ([sqrt v] of ((((x) - (x position)) * ((x) - (x position))) + (((y) - (y position)) * ((y) - (y position))))
go to x: (((radius) * ([sin v] of ((direction) + (θ)))) + (x)) y: (((radius) * ([cos v] of ((direction) + (θ)))) + (y)
turn cw (θ) degrees // that (θ) is the Greek letter theta.
one wouldn't expect younger users to be able to work it out easily, so support for
turn cw () degrees around x: () y: () :: motion
Plus, it's quite a long workaround.
Last edited by E_Equals_EmCeSquare2 (May 29, 2018 14:34:07)
- E_Equals_EmCeSquare2
-
33 posts
new block idea for 3.0 [rotate around x,y point]
I don't think that's how they meant by this block, I thought that this block causes the sprite to rotate (θ) degrees about the axis of rotation at (x, y), not rotate from the point (x, y). No Support, this is a simple and easy workaround:
Do this one to turn clockwise:go to x: (18) y: (14) // or any place you want the sprite to goDo this one to turn counter/anti-clockwise:
turn cw (15) degreesgo to x: (18) y: (14)You can also choose a new enter for your sprite in the paint editor using the centering tool, to make it rotate differently.
turn ccw (15) degrees
Last edited by E_Equals_EmCeSquare2 (May 29, 2018 14:38:20)
- MrFluffyPenguins
-
1000+ posts
new block idea for 3.0 [rotate around x,y point]
I think they mean to orbit around that areaI don't think that's how they meant by this block, I thought that this block causes the sprite to rotate (θ) degrees about the axis of rotation at (x, y), not rotate from the point (x, y). No Support, this is a simple and easy workaround:
Do this one to turn clockwise:go to x: (18) y: (14) // or any place you want the sprite to goDo this one to turn counter/anti-clockwise:
turn cw (15) degreesgo to x: (18) y: (14)You can also choose a new enter for your sprite in the paint editor using the centering tool, to make it rotate differently.
turn ccw (15) degrees
- TheRealNetherBefore
-
1000+ posts
new block idea for 3.0 [rotate around x,y point]
Semi-support- the workaround is complex however I don't really see situations where I'd use the block.
- radishboy
-
100+ posts
new block idea for 3.0 [rotate around x,y point]
Semi-support- the workaround is complex however I don't really see situations where I'd use the block.
I agree
- ACE009
-
100+ posts
new block idea for 3.0 [rotate around x,y point]
I don’t foresee much use either since most of the time you need one rotation point and can just set the costume center wherever that may be.Semi-support- the workaround is complex however I don't really see situations where I'd use the block.
I agree
- convoluto-
-
100+ posts
new block idea for 3.0 [rotate around x,y point]
This. ^I don’t foresee much use either since most of the time you need one rotation point and can just set the costume center wherever that may be.Semi-support- the workaround is complex however I don't really see situations where I'd use the block.
I agree
I hate the 120 second rule.
- nickliu
-
11 posts
new block idea for 3.0 [rotate around x,y point]
Semi-support- the workaround is complex however I don't really see situations where I'd use the block.
perhaps you could use it during collision simulators perhaps like some sort of multiplayer sumo wrestling game with plane possibly like cosmoteer.
- Seam49
-
500+ posts
new block idea for 3.0 [rotate around x,y point]
Support, although there is a block workaround, A lot of other blocks have workarounds too, very useful!
- Happysoul05
-
100+ posts
new block idea for 3.0 [rotate around x,y point]
No support.
Yes Setting costume center can be a problem but use a different duplicated costume for that.
When using that type of rotation,
Switch to that costume ,rotate and switch back to old one.
Yes Setting costume center can be a problem but use a different duplicated costume for that.
When using that type of rotation,
Switch to that costume ,rotate and switch back to old one.
- wWSunPandaWw
-
1000+ posts
new block idea for 3.0 [rotate around x,y point]
I said you can do that by changing the center of the sprite in the paint editor to make it appear that it's rotating b around a different point.I think they mean to orbit around that areaI don't think that's how they meant by this block, I thought that this block causes the sprite to rotate (θ) degrees about the axis of rotation at (x, y), not rotate from the point (x, y). No Support, this is a simple and easy workaround:
Do this one to turn clockwise:go to x: (18) y: (14) // or any place you want the sprite to goDo this one to turn counter/anti-clockwise:
turn cw (15) degreesgo to x: (18) y: (14)You can also choose a new enter for your sprite in the paint editor using the centering tool, to make it rotate differently.
turn ccw (15) degrees
you can workaround blocks with the paint editor??? Who knew???
- Discussion Forums
- » Suggestions
-
» new block idea for 3.0 [rotate around x,y point]