Giter Club home page Giter Club logo

tilia.locomotors.teleporttargets.unity's Introduction

Tilia logo

Locomotors -> Teleport Targets for the Unity Software

A collection of prefabs that provide a specific point or area location to specify a valid teleport location for the Unity software.

Release License Backlog

Introduction

Teleport Targets provide a simple way of marking a specific point or designated area as a valid location to teleport to.

Requires the Unity software version 2018.3.10f1 (or above).

Getting Started

Please refer to the installation guide to install this package.

Documentation

Please refer to the How To Guides for usage of this package.

Further documentation can be found within the Documentation directory and at https://academy.vrtk.io

Contributing

Please refer to the Extend Reality Contributing guidelines and the project coding conventions.

Code of Conduct

Please refer to the Extend Reality Code of Conduct.

License

Code released under the MIT License.

tilia.locomotors.teleporttargets.unity's People

Contributors

bddckr avatar dependabot-preview[bot] avatar dependabot[bot] avatar extendreality avatar extendreality-bot avatar thestonefox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tilia.locomotors.teleporttargets.unity's Issues

Guide needed for using instant teleport and spatial targets that have overrided rotations.

The objective is to allow an experience to have normal teleporting via a curved pointer while also having Spatial Targets with the "Use Target Override" option. Specifically, when the TargetOverride object has been rotated around the Y to face another direction. With this implementation the user can teleport around a scene, then use a spatial target point to climb some stairs automatically or get to the top of a ladder without having to aim the teleporter on top of a ledge they cannot see, which is very difficult, or having to use artificial locomotion. It is also usually helpful to turn the user during the teleport to face a specific direction so they are not facing the same direction they were when they initiated the spatial target. This could leave the user looking off a steep cliff, staring directly into a wall, etc.

To achieve this add a Locomotors.Teleport.Instant prefab to your scene.

Set "Apply Destination Rotation" set to false (unchecked).

When setting up TeleportTarget Points that use the "Use Target Override" option open up the Activated event on that Teleport Target Facade and add an event.

Drag the Locomotors.Teleport.Instant prefab object from your hierarchy into the event and select TeleporterFacade.ApplyDestinationRotation as the method.

Check the box to so this event turns on that option.

Now select the Deactivated event on your Teleport Target Facade and add another event.

Drag the Locomotors.Teleport.Instant prefab from your hierarchy into the event and select TeleporterFacade.ApplyDestinationRotation as the method.

Uncheck the box to so this event turns off that option.

Select your Locomotors.Teleport object in the Hierarchy and set the Offset usage option to "Offset Always With Destination Rotation"

Once your pointers and rules are setup as per normal documentation you should be able to teleport around the scene, and when selecting a teleport point with rotation override it should teleport you to the location and face the camera in the transform.forward of the override object. Teleporting away from that point should NOT apply any additional rotation since the option has been turned off.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.