English 中文(简体)
Creating a walk-through using Virtools
原标题:

I m creating a virtual walk-through in a museum environment.

I have constructed the 3D virtual environment in 3Ds Max and I need to create the walking part in Virtools.

I have found some tutorials on YouTube that show how to do simple character movement, but it shows only using keyboard navigations to move around.

I want to know how to walk around using mouse and keyboard like first person shooting game?

最佳回答

If you have the documentation installed, import the "Free Camera" sample from the "Virtools Resources/3D Entities/Scripted Cameras".

This will create a free cam, which navigate as in a FPS, using the mouse and keyboard (keys 8, 2, 4 and 6 on the num pad).

For collisions to work, you need to put the colliding 3D object in a group (in the Level Manager, select your 3D objects, then Right Click > Place selected in new group, then rename the created group).

In the schematic, in the script named "FreeCam Script", double click on the Object Slider box, and in the Group Field, select the group you just created.

问题回答

暂无回答




相关问题
virtual column for drop down in the ruby on rails

How to place a drop down for the virtual column, in the ruby on rails. The virutal column does not exist in my table , but I want to get the value from the drop down ,when user saves the data. for ...

C++ : implications of making a method virtual

Should be a newbie question... I have existing code in an existing class, A, that I want to extend in order to override an existing method, A::f(). So now I want to create class B to override f(), ...

C++ static virtual members?

Is it possible in C++ to have a member function that is both static and virtual? Apparently, there isn t a straightforward way to do it (static virtual member(); is a compile error), but is there at ...

C++ collection of abstract base classes

how can I create STL collection of classes which implement abstract base class using the base class as collection value, without using pointers? is there something in Boost that allows me to ...

How to design a C++ API for binary compatible extensibility

I am designing an API for a C++ library which will be distributed in a dll / shared object. The library contains polymorhic classes with virtual functions. I am concerned that if I expose these ...

热门标签