Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10396 in orxonox.OLD for trunk


Ignore:
Timestamp:
Jan 26, 2007, 10:17:29 PM (18 years ago)
Author:
snellen
Message:

camer scripting WORKS

Location:
trunk/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/camera.cc

    r10391 r10396  
    6666void Camera::init()
    6767{
    68   this->setName("camera");
     68  //this->setName("camera");
    6969  this->target = new CameraTarget();
    7070  this->target->masta=this;
  • trunk/src/world_entities/cameraman.cc

    r10395 r10396  
    9595  BaseObject* object = ObjectListBase::getBaseObject("Camera", camName);
    9696 
     97  printf("Setting Camera to: %s \n", camName.c_str());
    9798  if(object != NULL)
    9899  {
     100   
    99101    currentCam = dynamic_cast<Camera*>(object) ;
    100102   
Note: See TracChangeset for help on using the changeset viewer.