A cool feature to be added to Scratch that could help 3d projects: a block that sets the sprite center to a certain point.
Example:
Set center to(x;y)
turn 15 degrees
thus you could make 3d racing game!
Offline
I think that the idea here is to be able to adjust the center of a sprite's costume with a block while the project is running? I think that would be rather useful in some cases - it would certainly reduce the need for trigonometry.
Offline
Harakou wrote:
I think that the idea here is to be able to adjust the center of a sprite's costume with a block while the project is running? I think that would be rather useful in some cases - it would certainly reduce the need for trigonometry.
Yes exactly
Offline
Support!
Offline
Isn't it already possible with Trig?
Offline
Trekkie210 wrote:
Isn't it already possible with Trig?
Some people don't know trig...
Offline
Sorry to disappoint you, But this won't work.
See, If you have a sprite with the center at the middle,
[ . ]
And change it 5 to the left,
. [ . ]
This would make it rotate around the point, but would screw up the entire movement system. A better approach would be to have a whole new block,
| rotate [ ] degrees around x: [ ] y: [ ] |
Offline
I like hello12345678910's idea about the movement block. I agree the movement system would be terribly messed up.
It is already possible with trigonometry, but not everybody knows a whole lot about it, especially at the Scratch age.
Offline
hello12345678910 wrote:
Sorry to disappoint you, But this won't work.
See, If you have a sprite with the center at the middle,
[ . ]
And change it 5 to the left,
. [ . ]
This would make it rotate around the point, but would screw up the entire movement system. A better approach would be to have a whole new block,
| rotate [ ] degrees around x: [ ] y: [ ] |
Ah, you do have a point. The sprite would seem to move as soon as you changed the costume center.
Offline
Harakou wrote:
hello12345678910 wrote:
Sorry to disappoint you, But this won't work.
See, If you have a sprite with the center at the middle,
[ . ]
And change it 5 to the left,
. [ . ]
This would make it rotate around the point, but would screw up the entire movement system. A better approach would be to have a whole new block,
| rotate [ ] degrees around x: [ ] y: [ ] |Ah, you do have a point. The sprite would seem to move as soon as you changed the costume center.
Yes, probably this is a better idea.
Offline