forked from cgvr/DeltaVR
cheat keys also rotate player after teleport
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
### TODO
|
### TODO
|
||||||
* korralik teleportation minigame'idesse, kasutades TeleportProviderit, nagu button
|
|
||||||
* teha build kus archery range'is spawnitud objektid
|
* teha build kus archery range'is spawnitud objektid
|
||||||
* FMOD ChannelControl errorid
|
* FMOD ChannelControl errorid
|
||||||
* disable tutorial!!!
|
* disable tutorial!!!
|
||||||
@@ -10,8 +9,7 @@
|
|||||||
* klaas on näha temast eespool
|
* klaas on näha temast eespool
|
||||||
* shape detection:
|
* shape detection:
|
||||||
* professor võiks öelda "good job, continue..." pärast esimest successi
|
* professor võiks öelda "good job, continue..." pärast esimest successi
|
||||||
* kui kõik configurationid tehtud, siis professor ütleb "thank you"
|
* kui kõik configurationid tehtud, siis professor tuleb uksest välja ja ütleb "thank you"
|
||||||
* uks võiks käia ainult väljapoole
|
|
||||||
* peab mängijale kuidagi selgitama, kuidas scale'ida prinditud objekte
|
* peab mängijale kuidagi selgitama, kuidas scale'ida prinditud objekte
|
||||||
* prinditud objekti scale'imisele min ja max size limiit
|
* prinditud objekti scale'imisele min ja max size limiit
|
||||||
* soft particle'id, et ei clipiks
|
* soft particle'id, et ei clipiks
|
||||||
|
|||||||
Binary file not shown.
@@ -36,6 +36,7 @@ public class ModelGenerationUtils : MonoBehaviour
|
|||||||
{
|
{
|
||||||
XROrigin xrOrigin = FindObjectOfType<XROrigin>(includeInactive: true);
|
XROrigin xrOrigin = FindObjectOfType<XROrigin>(includeInactive: true);
|
||||||
xrOrigin.transform.position = minigamePoints[0].position;
|
xrOrigin.transform.position = minigamePoints[0].position;
|
||||||
|
xrOrigin.transform.rotation = minigamePoints[0].rotation;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -43,12 +44,14 @@ public class ModelGenerationUtils : MonoBehaviour
|
|||||||
{
|
{
|
||||||
XROrigin xrOrigin = FindObjectOfType<XROrigin>(includeInactive: true);
|
XROrigin xrOrigin = FindObjectOfType<XROrigin>(includeInactive: true);
|
||||||
xrOrigin.transform.position = minigamePoints[1].position;
|
xrOrigin.transform.position = minigamePoints[1].position;
|
||||||
|
xrOrigin.transform.rotation = minigamePoints[1].rotation;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Keyboard.current.digit3Key.wasPressedThisFrame)
|
if (Keyboard.current.digit3Key.wasPressedThisFrame)
|
||||||
{
|
{
|
||||||
XROrigin xrOrigin = FindObjectOfType<XROrigin>(includeInactive: true);
|
XROrigin xrOrigin = FindObjectOfType<XROrigin>(includeInactive: true);
|
||||||
xrOrigin.transform.position = minigamePoints[2].position;
|
xrOrigin.transform.position = minigamePoints[2].position;
|
||||||
|
xrOrigin.transform.rotation = minigamePoints[2].rotation;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Keyboard.current.digit0Key.wasPressedThisFrame)
|
if (Keyboard.current.digit0Key.wasPressedThisFrame)
|
||||||
|
|||||||
Reference in New Issue
Block a user