yes thankyou, i was a little drowsy last night...
thats what meds do to you.
thankyou for the help....
EDIT: Ok now a know that the sime time is based on the A#+1, How could i implement movement based on a MilPerSimHour Variable??
i mean, i have the orbit period in days i think, and i need to convert that to hours and then use the MilPerSimHour Variable to calculate its speed in the utility...
I have used it before in a circular orbit
if P1.Exist=1
turn object left 3,P1.RotationPeriod/(P1.OrbitPeriod/5)
XPos#=P1.OriginX+P1.OrbitDistance*sin(360*((SimTime#%%P1.OrbitPeriod)/P1.OrbitPeriod))
ZPos#=P2.OriginZ+P1.OrbitDistance*cos(360*((SimTime#%%P1.OrbitPeriod)/P1.OrbitPeriod))
position object P1.Obj,XPos#,0,ZPos#
endif
but now i need it for an elliptic orbit..