Changeset 7401 for code/trunk/src/orxonox/worldentities
- Timestamp:
- Sep 11, 2010, 12:34:00 AM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/doc (added) merged: 7290-7292,7296-7300,7302-7304,7306-7312,7315-7318,7323,7325,7327,7331-7332,7334-7335,7345-7347,7352-7353,7356-7357,7361,7363-7367,7371-7375,7388
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/worldentities/WorldEntity.cc
r7163 r7401 267 267 @brief 268 268 Attaches this object to a parent SceneNode. 269 @ Remarks269 @remarks 270 270 Only use this method if you know exactly what you're doing! 271 271 Normally, attaching works internally by attaching WE's. … … 282 282 @brief 283 283 Detaches this object from a parent SceneNode. 284 @ Remarks284 @remarks 285 285 Only use this method if you know exactly what you're doing! 286 286 Normally, attaching works internally by attaching WE's. … … 355 355 Attaches a child WorldEntity to this object. This calls notifyBeingAttached() 356 356 of the child WE. 357 @ Note357 @note 358 358 The collision shape of the child object gets attached nevertheless. That also means 359 359 that you can change the collision shape of the child and it correctly cascadeds the changes to this instance. … … 628 628 @brief 629 629 Sets the three dimensional scaling of this object. 630 @ Note630 @note 631 631 Scaling physical objects has not yet been implemented and is therefore forbidden. 632 632 */ … … 650 650 @brief 651 651 Translates this WorldEntity by a vector. 652 @param distance 653 The relative distance of the translation 652 654 @param relativeTo 653 @see WorldEntity::TransformSpace655 The TransformSpace of this translation 654 656 */ 655 657 void WorldEntity::translate(const Vector3& distance, TransformSpace relativeTo) … … 678 680 @brief 679 681 Rotates this WorldEntity by a quaternion. 682 @param rotation 683 The desired relative rotation 680 684 @param relativeTo 681 @see WorldEntity::TransformSpace685 The TransformSpace of this translation 682 686 */ 683 687 void WorldEntity::rotate(const Quaternion& rotation, TransformSpace relativeTo) … … 703 707 @brief 704 708 Makes this WorldEntity look at a specific target location. 709 @param target 710 An absolute point in the space which defines the direction of the entity 705 711 @param relativeTo 706 @see WorldEntity::TransformSpace712 The TransformSpace of this translation 707 713 @param localDirectionVector 708 714 The vector which normally describes the natural direction of the object, usually -Z. … … 729 735 @brief 730 736 Makes this WorldEntity look in specific direction. 737 @param direction 738 A point relative to the position of the WorldEntity which defines its orientation 731 739 @param relativeTo 732 @see WorldEntity::TransformSpace740 The TransformSpace of this translation 733 741 @param localDirectionVector 734 742 The vector which normally describes the natural direction of the object, usually -Z. … … 773 781 /** 774 782 @brief 775 Sets the CollisionType. This alters the object significantly! @see CollisionType.776 @ Note783 Sets the CollisionType. This alters the object significantly! 784 @note 777 785 Operation does not work on attached WorldEntities. 778 786 */ … … 900 908 Recalculates the accumulated child mass and calls recalculateMassProps() 901 909 and notifies the parent of the change. 902 @ Note910 @note 903 911 Called by a child WE 904 912 */ … … 919 927 @brief 920 928 Undertakes the necessary steps to change the collision shape in Bullet, even at runtime. 921 @ Note929 @note 922 930 - called by this->collisionShape_ 923 931 - May have a REALLY big overhead when called continuously at runtime, because then we need -
code/trunk/src/orxonox/worldentities/WorldEntity.h
r7163 r7401 299 299 @brief 300 300 Returns the diagonal elements of the inertia tensor when calculated in local coordinates. 301 @ Note301 @note 302 302 The local inertia tensor cannot be set, but is calculated by Bullet according to the collisionShape. 303 303 With compound collision shapes, an approximation is used. … … 367 367 @param otherObject 368 368 The object this one has collided into. 369 @p ram contactPoint369 @param contactPoint 370 370 Contact point provided by Bullet. Holds more information and can me modified. See return value. 371 @ Return371 @return 372 372 Returning false means that no modification to the contactPoint has been made. Return true otherwise! 373 @ Note373 @note 374 374 Condition is that enableCollisionCallback() was called. 375 375 */
Note: See TracChangeset
for help on using the changeset viewer.