removeCollisionComponent method

  1. @override
Future removeCollisionComponent(
  1. ThermionEntity entity
)
override

Removes the collision component from entity, meaning this will no longer be tested when testCollisions or queuePositionUpdate is called with another entity.

Implementation

@override
Future removeCollisionComponent(ThermionEntity entity) async {
  _module.ccall(
      "remove_collision_component",
      "void",
      ["void*".toJS, "int".toJS].toJS,
      [_sceneManager!, entity.toJS].toJS,
      null);
}