Jump to content

is it possible?


cyberbob_tf

Recommended Posts

is it possible to move an object back and fourth by using measurment instead of time? ive been tring, and i can get stuff to move using time variables, but it's not as accurate as i need it to be. i can't get any measurment variables to work. i am trying with getpos, and Move. please help if you can!!! :unsure:
Link to comment
Share on other sites

Perhaps it'll work as you wish if you use MoveWorld? Move translates the object along the axes of the system of coordinates rotated together with the object...
Link to comment
Share on other sites

why won't it work?

 

begin spotmove

 

float CurrentPos

 

if (Menumode == 1 )

return

endif

 

if ( GetPCCell == 1 )

set CurrentPos to ( GetPos ,X )

if ( Spot->GetPos ,X>= 10 )

MoveWorld, X, -5

endif

 

if ( Spot->GetPos ,X<= 0 )

MoveWorld, X, 5

endif

endif

 

end

 

 

it wont even start!!! :blink: HELP!!!!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...