Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ GetPosition
Function
GetPosition
engine/gameobject/src/gameobject/gameobject.cpp:3186–3189 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3184
}
3185
3186
Point3 GetPosition(HInstance instance)
3187
{
3188
return Point3(instance->m_Transform.GetTranslation());
3189
}
3190
3191
void SetRotation(HInstance instance, Quat rotation)
3192
{
Callers
13
Script_GetPosition
Function · 0.70
IterateGameObjectPropertiesGetNext
Function · 0.70
TEST_F
Function · 0.50
TEST_F
Function · 0.50
TEST_F
Function · 0.50
AssertPosition
Function · 0.50
TEST_F
Function · 0.50
DeleteSelfComponentsUpdate
Method · 0.50
X
Function · 0.50
TEST_F
Function · 0.50
TEST_F
Function · 0.50
CompLightLateUpdate
Function · 0.50
Calls
2
Point3
Class · 0.50
GetTranslation
Method · 0.45
Tested by
9
TEST_F
Function · 0.40
TEST_F
Function · 0.40
TEST_F
Function · 0.40
AssertPosition
Function · 0.40
TEST_F
Function · 0.40
DeleteSelfComponentsUpdate
Method · 0.40
X
Function · 0.40
TEST_F
Function · 0.40
TEST_F
Function · 0.40