Im not entirly sure what you mean. Are you talking about a single object with ai and phy or two objects?
When you say "Get new phy postions for xyz of moved object" do you mean the ai object? And do you mean get the values or place the object at those cords?
This is in my do loop.
rem get ai postition
x5#=object position x(5);y5#=object position y(5)
z5#=object position z(5)
rem get physics postion
x6#=object position x(6);y6#=object position y(6)
z6#=object position z(6);
rem place physic object at ai cords
phy set rigid body position 6,x5#,y5#,z5#;
rem place ai at physics cords
position object 5,x6#,y6#,z6#;sc_setupobject 5,1,0
There are two objects one with ai attributes the other with physics.
It works but not perfectly. Meaning the two's cord's will seperate and they will bolth flash back and forth between them. The object's them selfs won't seperate, it is kinda hard to explain so please check it out. Make two different colored spheres or somthing.