Orxonox
0.0.5 Codename: Arcturus
|
This module allows you to place PortalEndPoints in space and connect pairs of them with a PortalLink in order to allow fast travelling from A to B. More...
Files | |
file | PortalEndPoint.h |
Declaration of the PortalEndPoint class. | |
file | PortalLink.h |
Declaration of the PortalLink class. | |
Classes | |
class | orxonox::PortalEndPoint |
A PortalEndPoint serves as portal entrance and/or exit. More... | |
class | orxonox::PortalLink |
A PortalLink represents the connection between two @ref orxonox::PortalEndPoint "PortalEndPoints"More... | |
This module allows you to place PortalEndPoints in space and connect pairs of them with a PortalLink in order to allow fast travelling from A to B.
The simplest way to use portals is show by the following piece of xml-code
This
In the example above some default values are used. The full possibilities are shown below
step by step
In order to make PortalEndPoints visible in the game there must be something visible. The idea (as shown above) is to define or include arbitrary Templates which make a PortalEndPoint visible and use them later by setting the design attribute of a PortalEndPoint to the template name