Lets say I want to make an Isometric "3D" star map that I want to rotate. I want it to appear that all points on this "map" rotate around the y axis as the map turns. This involves Isometric Projection mathematics...

Has anyone worked out how to translate this math into Construct 2 yet?

I was thinking of using the "math" to translate sprite x,y,z (isometric) to x,y (Construct Canvas) as the map rotates. I imagine it would be a complex event structure...

I would probably give a sprite local variable ISOx, ISOy, and ISOz for Isometric point in space, then ProjX, and ProjY for the 2D projection position on the layer.

Then I guess I would have to calculate at what angle the map was facing isometrically, and use that to calculate ISOx, ISOy, and ISOz. Then use Isometric projection to translate the "false" x,y,z to ProjX and ProjY...

Am I on the right track? Anyone want to help me figure this problem out?

<img src="smileys/smiley36.gif" border="0" align="middle" /> - I thought you would say that. Never mind :) <img src="smileys/smiley36.gif" border="0" align="middle" />

OK, So now I want to get a Distance value between two stars. I have Local PlotX, PlotY and PlotZ values for each star instance. These are recorded when the star is placed in the Isometric spinning Star map. When you left Click on one star it records the instance and pulls those values. Then you click on a star with the right mouse button and it pulls a second set of coordinates. The Distance Global variable then tallies the distance. But if Global DistanceAB is Negative, it says NaN (because of sqrt I think)... How can I get that value regardless of whether the value is + or -...

Take a look. It is kinda cool looking... (Think about the cool spinning art you could create with this principle...)

zrotate.capx doesn't make sense to me... how does getting the sin and cos of 1 over and over get you angular motion? Shouldn't it be the sin and cos of an increasing angle?... but when you change that constant it just changes the speed of the rotation. Does cos(1) not work like I think it does? Shouldn't it return 1 all the time?

I played around with my original capx and came up with a few adjustments. It will now spawn 3 spherical solar systems at random locations in the window with a y rotational axis, and different rotational speeds. Looks neat...

Ugh... My head hurts now... I am glad someone is learning from this post. LOL!!!! (P.S. Im still not 100% on it myself, but at least I understand the basics.

I don't fully get how they come up with the second part either, the derivative... I just looked it up and it's that. There's a proof but phew I'm glad someone else did it.