Reason I ask is it doesn't seem to be on my comp (better mention I'm on Vista here, V1.01 of DP).
I first noticed this when I started using version control with my project, every time I ran my project it would flag the files with the physics data as having been modified.
` call this command to be able to use physics in our program
phy start
` turn sync rate on
sync on
sync rate 60
` make a box that will be our ground
make object box 1, 50, 1, 50
` load physics data
phy load rigid body static mesh 1,"test.blah"
` create a cube and place it just above the edge of the ground
make object cube 2, 5
position object 2, 0, 10, -26
` create a dynamic rigid body box to represent our cube
phy make rigid body dynamic box 2
` position the camera so we can see the cube and box
position camera 0, 10, -50
` and here’s our main loop
do
` update the physics
phy update
sync
loop
If you run the above code sample without having first created the file 'test.blah' then
phy load rigid body static mesh will create it for you (not mentioned in the help files and personally I would prefer it if it threw an error instead of silently making it for you). Then check the date modified for the file and run the code again. Checking the date modified field for the file again will reveal that it has been modified (or at least does on my comp). You may think ah but the date created field doesn't update,well I tried actually deleting the file completely and creating it again and the date created remained the same so it can be ignored.
Finally the reason I ask is because in my project which uses more complex geometry than a cube, such that the loading time is actually noticeable, using
phy load rigid body static mesh and
phy make rigid body static mesh both take the exact same amount of time.
Now it's possible that maybe I'm overlooking something stupidly simple here, and I will hit post and then realise what it is and feel like an idiot (wouldn't be the first time...), but I can't think of what that might be so I'm hitting post.