• Preparing search index...
  • The search index is not available
Source Academy Modules
  • Source Academy Modules
  • robot_simulation
  • createFloor

Function createFloor

  • createFloor(physics, renderer): Cuboid
  • Create a floor. This function is a wrapper around createCuboid.

    The returned Cuboid object is designed to be added to the world using addControllerToWorld.

    This is a Controller function and should be called within init_simulation.

    Parameters

    • physics: Physics

      The physics engine of the world. See createPhysics

    • renderer: Renderer

      The renderer engine of the world. See createRenderer

    Returns Cuboid

    Cuboid

    • Defined in bundles/robot_simulation/helper_functions.ts:308

Settings

Member Visibility

Theme

Source Academy Modules
  • Loading...

Generated using TypeDoc