Finally got a small program together that shows that scaling isn't working with the update for static terrains.
phy enable debug
phy start
sync on
sync rate 60
load object "testfield.x", 1
position object 1, 0, 0, 0
Phy Make Rigid Body Static Terrain 1
do
if spacekey()
Phy Delete Rigid Body 1
scale object 1, 200, 200, 200
phy make rigid body static terrain 1
endif
if inkey$() = "r"
Phy Delete Rigid Body 1
scale object 1, 100, 100, 100
phy make rigid body static terrain 1
endif
Control Camera Using Arrowkeys 0, 5, 5
phy update
sync
loop
I've attached the testfield files you'll need.
1. Start the Visual Remote Debugger
2. Run the code
3. Arrow keys to move the camera.
4. Press space to scale the object and recreate the rigid body terrain mesh
5. Check the debugger, the mesh hasn't scaled
6. Press r to reset to the correct non-scaled size.
Scaling appears to work fine with boxes but not terrains. Can someone else confirm?
Thanks
Sean