メタデータの末尾にスキップ
メタデータの先頭に移動

You are viewing an old version of this content. View the current version.

現在のバージョンとの相違点 View Version History

« 前のバージョン バージョン 4 次のバージョン »

Height fields are used by Atoms for handling your terrains or ground meshes.

You can open the height field manager by using the shelf button or via the Atoms Menu: Atoms > Height field manager.



Adding an height field

Create a mesh representing your ground in Maya, scale it so that your agents will have plenty of space to move around and move some vertices/faces.

With your mesh still selected press on the "Add" Button in the height field manager, then type a name in the sub dialog (i.e. hf) and press the "Select" button. The name of your mesh will appear in the "Mesh" field.

Leave the "Animated" box unchecked.

Click on "OK", a new entry "hf" will appear in your Height Fields list.

Now go back to your stateMachine/clipReader module in the agent group UI and set the "heightField" value to "hf".

Rewind your sim and press play. Your agents will walk on the ground mesh.


Height Field Manager GUI

A few more things.
If you right click on an height field in the "Height Fields" list a menu will pop up. From there you will be able to "Reload", "Edit" or "Delete" it.
You must reload an height field whenever you modify it in your 3D application.

Animated height fields are available in Atoms. Atoms rebuilds the animated height field internal data at each frame, for this reason they are less performing than static height fields.

  • ラベルがありません