getting data from physics simulation

Jeri3d
Petty Officer Second Class
Posts: 25
Joined: 16 Feb 2010, 08:59

getting data from physics simulation

Post by Jeri3d »

Hi I am wanting to make a device which is basically like a wheel barrow.

I would like to put a specific weight in the wheel barrow and then find out what power (horse power, newtons, watts etc) are required to move it.

Is it possible in TS 7.6 to have something like a table or a control panel on the screen where I can set one variable and then see the result when the weight is moved? Either I put in a power value until the weight is moved or a value is displayed once the wheel barrow moves or moves at a certain velocity. Maybe something could be done in the Panel section?

The main idea is to design something carrying a weight which a normal human worker can move. So the important data is the power input required.

All this would require real world settings everywhere so could someone cover these please?

I would also like to graph the results to help compare different settings. This would require feeding a database which OO Spreadsheet or MS Excel could display.
froo
Captain
Posts: 2554
Joined: 22 May 2009, 12:13

Re: getting data from physics simulation

Post by froo »

Hey Jeri. Welcome to U3DA! :bananacheers:

When you add physics properties to an object, you can access those properties
in the Link Editor (LE). I do not have trueSpace on this machine, so I can't take
snapshots at present. But in the LE, you can 'drill down' into the object's hierarchy,
to see the physics attributes. You drill down, by clicking either an orange square, or
orange triangle, in the upper right hand corner of the object node, in the LE.
For example, if your object is called wheelbarrow, you drill down into that wheelbarrow
node.

You can assign initial velocity, rotation, acceleration, etc. using the physics flyout
panel. The icon looks like a tire. You click, and drag to get the flyout panel.
It's been awhile; but I think you can also assign these values of velocity, rotation, etc.
within the LE.

As far as creating a custom panel for your goals, that may be possible. But you'll have to
do the math using script code (jscript, or vbscript), both of which are available within trueSpace.
You can perform the calculations, using the data acquired from the physics attributes, again, from the
LE. The developer documentation references the functions you need. Primarily, to get data
from node connectors, you'll be using Node.Value() functions.

If you do not have the documentation, please let us know. We can post a link.

Froo
Jeri3d
Petty Officer Second Class
Posts: 25
Joined: 16 Feb 2010, 08:59

Re: getting data from physics simulation

Post by Jeri3d »

I would appreciate links and other info to try and make an interactive thingy to do what I want. There is a dial of some kind in the objects library for one of the activity tutorials that would be along the lines of what I want.

Return to “New Users”