Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FlaxEngine/FlaxEngine
/ GetGravity
Method
GetGravity
Source/Engine/Physics/Physics.cpp:192–195 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
190
}
191
192
Vector3 Physics::GetGravity()
193
{
194
return DefaultScene ? DefaultScene->GetGravity() : Vector3::Zero;
195
}
196
197
void Physics::SetGravity(const Vector3& value)
198
{
Callers
3
Tick
Method · 0.80
SimpleMove
Method · 0.80
AddMovement
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected