Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 3 and Version 4 of ~archive/WorldEntity


Ignore:
Timestamp:
Apr 15, 2017, 3:57:04 PM (8 years ago)
Author:
landauf
Comment:

fixed links

Legend:

Unmodified
Added
Removed
Modified
  • ~archive/WorldEntity

    v3 v4  
    22[[ArchivePage]]
    33
    4 A !WorldEntity is an extension [wiki:archive/ParentNode ParentNode], that can be displayed, and interact in the wonderful Worlds of orxonox
     4A !WorldEntity is an extension [wiki:ParentNode ParentNode], that can be displayed, and interact in the wonderful Worlds of orxonox
    55
    6 source:/trunk/src/world_entities/world_entity.h#HEAD [[br]]
     6source:orxonox.OLD/trunk/src/world_entities/world_entity.h#HEAD [[br]]
    77__Dependecies__:
    8   * [wiki:archive/ParentNode ParentNode]
     8  * [wiki:ParentNode ParentNode]
    99
    1010== usage ==
     
    2525'''Initailisation-Phase:'''
    2626  * __loadParams__: Loads Parameters on the !WorldEntity - level
    27   * __loadModel__: loads a new Model onto the !WorldEntity (this is coppled with the [wiki:archive/ResourceManager ResourceManager], so you don't have to care about the pointer anymore)
     27  * __loadModel__: loads a new Model onto the !WorldEntity (this is coppled with the [wiki:ResourceManager ResourceManager], so you don't have to care about the pointer anymore)
    2828  * __buildObbTree__: If you want collisions to happen onto this !WorldEntity, then you have to call this function, to create a Collision-Cluster. This is normally called upon a call to loadModel, but maybe you want something more.
    2929  * __setVisibility__: Tells the ENGINE if this !WorldEntity must be drawn, or not
     
    4040== Howto Create a new !WorldEntity ==
    4141If you want to create a new !WorldEntity, you first have to know the concept of
    42   * ClassID, [wiki:archive/BaseObject BaseObject] (for nice integration into our project)
    43   * [wiki:archive/LoadParam LoadParam] / Factory (for automatic Loading)
     42  * ClassID, [wiki:BaseObject BaseObject] (for nice integration into our project)
     43  * [wiki:LoadParam LoadParam] / Factory (for automatic Loading)
    4444
    4545Then it would be a good idea to look at an other !WorldEntity, like Player/NPC/PowerUp.