MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / SetLocalPosition

Method SetLocalPosition

include/RavEngine/Transform.hpp:140–143  ·  view source on GitHub ↗

Overwrite the position of the transform with a new position in local (parent) space @param newPos the new position of this transform */

Source from the content-addressed store, hash-verified

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

Callers 1

TickMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected