DBP 7.5
The example below creates a cube, skews one side of the cube with vertexdata commands, then uses CLONE OBJECT to copy it. Upon using CLONE OBJECT, you can see that the object suddenly resets to its original configuration.
The same thing happens with SAVE OBJECT - but
not with INSTANCE OBJECT.
This can be avoided by using a Lock flag of 2 in the LOCK VERTEXDATA FOR LIMB command, but even in the other lock modes I don't believe the object should be resetting this way.
make object cube 1,1
wait key
lock vertexdata for limb 1,0
for c=0 to get vertexdata vertex count()
if get vertexdata position x(c)<0
set vertexdata position c,get vertexdata position x(c),get vertexdata position y(c)+1,get vertexdata position z(c)
endif
next c
unlock vertexdata
wait key
clone object 2,1
position object 2,-2,0,0
wait key
Latest progress: Fog of War implemented; frustrated by pathfinding >.>