ecspresso
Preparing search index...
plugins/physics2D
applyForce
Function applyForce
applyForce
(
ecs
:
{
getComponent
(
id
:
number
,
name
:
"force"
)
:
Vector2D
|
undefined
}
,
entityId
:
number
,
fx
:
number
,
fy
:
number
,
)
:
void
Accumulate a force onto an entity's force component.
Parameters
ecs
:
{
getComponent
(
id
:
number
,
name
:
"force"
)
:
Vector2D
|
undefined
}
entityId
:
number
fx
:
number
fy
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ecspresso
Loading...
Accumulate a force onto an entity's force component.