Quote: "As I said, it's like the "POINT OBJECT" command with an XYZ, but with an addition of the up vector that determines how much the object rolls. If the up vector is center left to the object(like 30,0,0), then the object rolls just about 90 degrees."
But point object already rotates the object....
set display mode 1024,768,32
sync on
sync rate 60
autocam off
make object cube 1,50
make object sphere 2,50
position object 2,0,0,0
position object 1,50,50,50
position camera 0,0,-200
do
a# = WRAPVALUE(a# + 1.0)
x# = SIN(a#) * 150.0
z# = COS(a#) * 150.0
POSITION OBJECT 1, x#, 3, z#
point object 1,object position x(2),object position y(2),object position z(2)
sync
loop
And if you make an invisible cube like I said then you can have a roll to an invisible target above the original target.
set display mode 1024,768,32
sync on
sync rate 60
autocam off
make object cube 1,50
make object sphere 2,50
make object cube 3,10
position object 2,0,0,0
position object 3,0,0,0
position object 1,50,50,50
position camera 0,0,-200
flow = 50
do
a# = WRAPVALUE(a# + 1.0)
x# = SIN(a#) * 150.0
z# = COS(a#) * 150.0
POSITION OBJECT 1, x#, 3, z#
point object 1,object position x(3),object position y(3),object position z(3)
if flow >=0
move object up 3,1
dec flow
if flow = 0 then flow = -50
else
inc flow
if flow = 0 then flow = 50
move object down 3,1
endif
sync
loop