-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Teleport property TRNG-102 #91
Conversation
Findings (might be related to one of the other PRs but I collect them all here): Note: Only tested in DM for now
|
} | ||
} | ||
|
||
private void ConfigureDefaultTeleportationAnchor(TeleportProperty teleportationAnchor) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be good to be able to overwrite this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe, in general, it would be good to hook up custom actions when the fix button from the step inspector is hit.
I also thought about this (after the meeting with Sebastian), I'll say it is out of scope for this PR but we definitively should keep an eye on how to provide a way to do custom configurations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Capitalize anchor and customReticle
I also see all (most) points from @SimonTheSourcerer
1.- Those assets are interaction effects, they make more sense in the XR Component. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get that the anchor prefab is an interaction effect, on the other side you would have to also put this in VRTK or MRTK then. In the end I dont care too much
Sorry, my bad, thought its only the test classes
Minor/Trivial: I'd find it cleaner if the visuals would be connected stronger to the collider (which currently is in the parent) and they would not be the child of the anchor. I understand the anchor as the place where the trainee will be after teleporting. In the current setup, the following two (rare!) use cases are not supported well: 1. The training designer wants to replace the visuals with other geometry and has to change the collider in another object. Note: A collider in the child would be sufficient if the property would not enforce the collider on this object. 2. After clicking on the teleportation spot, the trainee's position should be adjusted, e.g. higher/lower for whatever reason. Note: I don't think that this really makes sense but this use case is the idea behind having the anchor in the first place, right? |
Trivial: |
I removed the collider from the property and add it to the base (floor) this will reduce most of the issues and will be more transparent for the training desingners. |
Not sure exactly why but we can address that in the locomotion ticket. |
df2bb8e
to
6b06d12
Compare
Test Results with Desktop Mode:
|
4ad6621
to
7966c6e
Compare
Good catch, I'll take a look but that probably belongs on another component.
It can.
👌
Teleportation in desktop mode is not yet supported, the desktop mode "fakes" all property interaction so it can work. |
Idk, this is a pure XRIT behavior.
🤷♂️ This should be resolved in one of the latest commits, is your branch up to date?
👍
This behavior is not implemented yet.
Perhaps because the teleport points are locked, enable behavior only enables a Game Object but it does not unlock its properties. |
@tomwim basic interaction assets were moved from the XR Component into the Basic Interaction (Innoactive/Basic-Interaction-Component#45). |
Testresults rechecked:
👍
👍
My branch was up to date. I also pulled the newest branch state a few minutes ago before retesting.
👍
Okay 👍 Additional notes:
Config: state from now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If all change requests are addressed and we decide that the minor bug with the "side circle" should be deferred and put into a ticket I can approve this.
Dismiss this otherwise :)
Since the assets were moved from this repository to a dedicated one, you need to re generate the teleport property. BTW this issue will not be present for any user, this happened probably because you already had a property generated with the old asset location. |
Dismiss due to the lack of response, all changes are already addressed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good to me
🎉 This PR is included in version 1.8.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Description
Implements a
Teleport Property
based on aTeleportation Anchor
.The
Teleport Property
can be configured as aDefault Teleportation Anchor
:Type of change
How Has This Been Tested?
Add a teleport condition in any step and test either teleporting and skipping the step on all available rigs.
Related To
Teleport condition TRNG-102 Basic-Conditions-And-Behaviors#40Teleport condition TRNG-102 Basic-Interaction-Component#42ITeleportProperty was renamed to ITeleportationProperty Basic-Interaction-Component#43Basic interaction assets were relocated Basic-Interaction-Component#45