Provides methods used for setting the immovable properties of an Arcade Physics Body.
- Since: 3.0.0
- Source: src/physics/arcade/components/Immovable.js (Line 7)
Methods
-
setImmovable( [value])
-
Sets Whether this Body can be moved by collisions with another Body.
Parameters:
Name Type Argument Default Description value
boolean <optional>
true Sets if this body can be moved by collisions with another Body.
- Since: 3.0.0
- Source: src/physics/arcade/components/Immovable.js (Line 15)
Returns:
This Game Object.