also note in MMF, angle [zero] faces directly down; 180 up, 270 left and 90 = right.
Printable View
also note in MMF, angle [zero] faces directly down; 180 up, 270 left and 90 = right.
OOOww, you know, i gave up on a virtual host a while back because it always spat out an 90 offset value and it was mmf's fault the whole time hehe, i guess i might finish it then. ;)
Thanks for all your attention. I need a little help in two particle effects that I'm working on, that should be updated in the particle effects thread at the file archive.
How to assign a directional force (like gravity)to the expression
Value_B( "particle" )+(Cos(Value_A( "particle" )*-1.0)*Value_E( "particle" ))
and
Value_C( "particle" )+(Sin(Value_A( "particle" )*-1.0)*Value_E( "particle" ))
of example "Simple Spread"? (it's located in this example here:http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=81531&fpart=1 in the particlelibrary2.zip only)
The other help is, I have an ellipse movement, let's say earth and sun, represented in the expression below.
Always set
X pos to --> (Sin(Global Value A)*50)+X( "sun" )
Y pos to --->(Cos(Global Value A)*100)+Y( "sun" )
in the expression above how do I "tilt" this movement? see image below for visual representation
http://img155.imageshack.us/img155/5539/tiltod1.jpg
for the diagonal one, set x to 'xpole+((0.5+(cos*0.5))* distance to rigthx pole) and similarly the other.
thanks SEELE, just to make sure, this formula works with any angle or just 45 degrees? And what should be the difference between the Xpole to the distance to the right Xpole'? I assume the "xpole" you mention is the value that determinates how far the the ball orbits in the X axis? (from one pole to another)
YES!, and you would need to change the formula a little:
set x to 'xpole+((g+(cos*j))* distance to rigthx pole)
set y to 'ypole+((g+(sin*j))* distance to bottomy pole)
The 'g' represents the left pole offset and the 'j' represents the right pole offset, so a full circle would be g=0 j=1 & 45 degree on the left axis would be g=0 & j=0.5 and that works for everything inbetween.
Good Luck.
ow and the distance basicly represents the size of the circle so if your circle is 16*16 then your 'distance to rigthx pole' is 16.