Changeset 6126 in orxonox.OLD for branches/objectmanager/src/world_entities/weapons/guided_missile.cc
- Timestamp:
- Dec 15, 2005, 10:57:45 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/objectmanager/src/world_entities/weapons/guided_missile.cc
r6123 r6126 153 153 if (this->target != NULL && this->target->getParent() != PNode::getNullParent()) 154 154 { 155 printf("========%s::%s\n", target->getParent()->getClassName(), target->getParent()->getName() );156 155 velocity += ((target->getAbsCoor() - this->getAbsCoor()).getNormalized())*agility; 157 156 float speed = velocity.len();
Note: See TracChangeset
for help on using the changeset viewer.