MCPcopy Create free account
hub / github.com/Illation/ETEngine / SetVelocity

Method SetVelocity

Engine/source/EtFramework/Components/RigidBodyComponent.cpp:112–116  ·  view source on GitHub ↗

--------------------------------- RigidBodyComponent::SetVelocity

Source from the content-addressed store, hash-verified

110// RigidBodyComponent::SetVelocity
111//
112void RigidBodyComponent::SetVelocity(vec3 const& vel)
113{
114 ET_ASSERT(m_Body != nullptr);
115 m_Body->setLinearVelocity(ToBtVec3(vel));
116}
117
118//----------------------------------------
119// RigidBodyComponent::SetAngularVelocity

Callers

nothing calls this directly

Calls 1

ToBtVec3Function · 0.85

Tested by

no test coverage detected