Overwrite the position of the transform with a new position in local (parent) space @param newPos the new position of this transform */
| 138 | @param newPos the new position of this transform |
| 139 | */ |
| 140 | inline void Transform::SetLocalPosition(const vector3& newPos) { |
| 141 | //set position value |
| 142 | position = newPos; |
| 143 | } |
| 144 | |
| 145 | /** |
| 146 | Move this transform to a new location in world space |