teleport-tool-sdk-7

1.0.2 • Public • Published

Teleport Tool For Developers - SDK7

Teleport Tool

Try it out

Installation

npm install teleport-tool-sdk-7@1.0.1

Purpose

The Teleport Tool streamlines the management of multiple teleportation points within your scene, enabling quick activation and deactivation of teleport points. This facilitates efficient testing and debugging, particularly in large, multi-parcel scenes

Usage Example

Customize your teleport names and coordinates to navigate seamlessly within the scene.

Teleport Tool

// First, we import the TeleportTool
import { TeleportTool } from 'teleport-tool-sdk-7'

// Then, we declare a Teleport Tool entity
const teleportTool = new TeleportTool()

// We set the Teleports (Max 4 slots)
teleportTool.setTeleport1('Teleport 1', Vector3.create(0, 0, 0)) // Add teleport NAME and COORDINATES for slot 1
teleportTool.setTeleport2('Teleport 2', Vector3.create(0, 0, 0)) // Add teleport NAME and COORDINATES for slot 2
teleportTool.setTeleport3('Teleport 3', Vector3.create(0, 0, 0)) // Add teleport NAME and COORDINATES for slot 3
teleportTool.setTeleport4('Teleport 4', Vector3.create(0, 0, 0)) // Add teleport NAME and COORDINATES for slot 4

//Finally, add the teleportTool.uiComponent to your ReactEcsRenderer
ReactEcsRenderer.setUiRenderer(teleportTool.uiComponent)

⚠️ Remember: Don't forget to add the following permissions to your scene.json:

"requiredPermissions": [
  "ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE"
]

Contributing

  • Feel free to contribute to the Teleport Tool!
  • Reporting bugs or issues.
  • Suggesting new features.
  • Materials
  • Submitting pull requests for enhancements.

Community

  • Join our community for discussions, support, and updates
  • Discord: Join the Coding Cave Discord server

Readme

Keywords

none

Package Sidebar

Install

npm i teleport-tool-sdk-7

Weekly Downloads

0

Version

1.0.2

License

none

Unpacked Size

2.54 MB

Total Files

19

Last publish

Collaborators

  • agustincarriso