Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ setLinearFactor
Method
setLinearFactor
core/physics3d/Physics3DObject.cpp:147–150 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
145
}
146
147
void Physics3DRigidBody::setLinearFactor(const ax::Vec3& linearFactor)
148
{
149
_btRigidBody->setLinearFactor(convertVec3TobtVector3(linearFactor));
150
}
151
152
ax::Vec3 Physics3DRigidBody::getLinearFactor() const
153
{
Callers
2
shootBox
Method · 0.45
lua_ax_physics3d_Physics3DRigidBody_setLinearFactor
Function · 0.45
Calls
1
convertVec3TobtVector3
Function · 0.85
Tested by
1
shootBox
Method · 0.36