Parcourir la source

entity draw at _position

develop
Robin Thoni il y a 7 ans
Parent
révision
db79753c58
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      UGameEngine/entities/ugeentity.cpp

+ 1
- 1
UGameEngine/entities/ugeentity.cpp Voir le fichier

@@ -91,7 +91,7 @@ void UGEEntity::hide()
91 91
 
92 92
 Vector3D UGEEntity::getRealPoint(const Vector3D &pos)
93 93
 {
94
-    return pos;
94
+    return pos + _position;
95 95
 }
96 96
 
97 97
 ColorVector3D UGEEntity::getRealPoint(const ColorVector3D &pos)

Chargement…
Annuler
Enregistrer