Well I've purchased an Oculus Rift and all runs well.
Going into Cryengine using levels created by myself - in VR - is incredible. The depth perception of the terrain adds so much more Experience.
However, on first using the Oculus Touch Controllers in CryEngine - They did Absolutely Nothing.
Reading Documents from both CryEngine and Oculus websites, I finally came to the conclusion that I had to Build my own defaultProfile.xml.
So I got things working to a Minimal extent.
Some basic key functions appear not to work with the TRIGGERS - they work fine with the BUTTONS.
Attack1 (fire weapon) just wont respond when I set up the action map in defaultprofile to be:
<action name="attack1" onPress="1" onRelease="1" onHold="1" keyboard="mouse2" oculustouch="otouch_r1" /> Thats, the Index Trigger finger (naturally)
It is fine if I use oculustouch="otouch_b or a , x , y or even L3 and R3.
I've tried using many variants to no avail.
Can anyone please help me. I am Not a Programmer. My coding experience is virtually Zero.
Has CryEngine a file that can be use to make Full Use of the touch controllers ?? or is one Planned.
I've looked at and played Robinson the journey and even copied the default profile from there to Cryengine 5.5
To no avail, I guess some things a programmed in that I cant use.
At this stage i'm just wanting to get the Trigger Finger to fire the weapon.
Re: Oculus Controllers and the defaultProfile.xml
#2Hi there,
For debugging you can use the Oculus Flowgraph Nodes "VR:OculusController" and "VR:ControllerTracking" to get input from the Oculus controllers.
For the action maps, please take a look at this page:
https://docs.cryengine.com/display/CEPR ... culus+Rift
The action maps names are defined in this page, have you tried the other trigger names for index and default triggers?
For debugging you can use the Oculus Flowgraph Nodes "VR:OculusController" and "VR:ControllerTracking" to get input from the Oculus controllers.
For the action maps, please take a look at this page:
https://docs.cryengine.com/display/CEPR ... culus+Rift
The action maps names are defined in this page, have you tried the other trigger names for index and default triggers?
Uniflare
CRYENGINE Technical Community Manager
Here to help the community and social channels grow and thrive.
My personal belongings;
Beginner Guides | My GitHub | Splash Plugin
CRYENGINE Technical Community Manager
Here to help the community and social channels grow and thrive.
My personal belongings;
Beginner Guides | My GitHub | Splash Plugin
Re: Oculus Controllers and the defaultProfile.xml
#3Thanks for answering Cry-Flare,
Yes I have tried all the other Buttons and Triggers. All action seem to work fine on the Buttons and only some on the Triggers.
Stick triggers work Fine - L3 and R3.
Its L1 R1 L2 R2 that give me no responce to most commands.
I can get Respawn and First-Third person to work fine on these triggers.
Even walking works on L1 R1 - but it keeps walking even when releasing the Triggers.
I have used a Debug Flow Graph to send a Dynamic Response Signal from the Keyboard - that works Fine. If I use a similar Debug with the VR: Oculus Controller - the message appears constantly on the screen
and doesnt allow any further Messages from other Keys.
I am not really fluent on Flow Graphs. and there are no Instructions for this type of VR Node -only information.
I would greatly appreciate it if the correct method could be shown to me.
I have read all the Information that I can find on Cryengine VR and Oculus .
Yes I have tried all the other Buttons and Triggers. All action seem to work fine on the Buttons and only some on the Triggers.
Stick triggers work Fine - L3 and R3.
Its L1 R1 L2 R2 that give me no responce to most commands.
I can get Respawn and First-Third person to work fine on these triggers.
Even walking works on L1 R1 - but it keeps walking even when releasing the Triggers.
I have used a Debug Flow Graph to send a Dynamic Response Signal from the Keyboard - that works Fine. If I use a similar Debug with the VR: Oculus Controller - the message appears constantly on the screen
and doesnt allow any further Messages from other Keys.
I am not really fluent on Flow Graphs. and there are no Instructions for this type of VR Node -only information.
I would greatly appreciate it if the correct method could be shown to me.
I have read all the Information that I can find on Cryengine VR and Oculus .
Re: Oculus Controllers and the defaultProfile.xml
#4I did so.
Turns of the player, raising and lowering the weapon is not obtained yet !!!
Sincerely, Alexander.
Turns of the player, raising and lowering the weapon is not obtained yet !!!
Sincerely, Alexander.
- Attachments
-
- FG-2.jpg (41.03 KiB) Viewed 9633 times
Re: Oculus Controllers and the defaultProfile.xml
#5Thanks for the reply Alexander.
I copied your flow graph, but used the Oculus Controller instead of the open VR.
I get the Movement Forward and I get the Gun Fire working, but the actions will not stop.
The Gun Fires repeatedly until there is no ammo and the Character walks and will not stop until I
use the controller joystick to walk backwards then the forward motion is cancelled.
It seems as if there needs to be a Restriction placed upon the number of times the Trigger sends Impulses.
My Knowledge of Flow Graph is small.
Have you any suggestions.
Thanks, Peter.
I copied your flow graph, but used the Oculus Controller instead of the open VR.
I get the Movement Forward and I get the Gun Fire working, but the actions will not stop.
The Gun Fires repeatedly until there is no ammo and the Character walks and will not stop until I
use the controller joystick to walk backwards then the forward motion is cancelled.
It seems as if there needs to be a Restriction placed upon the number of times the Trigger sends Impulses.
My Knowledge of Flow Graph is small.
Have you any suggestions.
Thanks, Peter.
Re: Oculus Controllers and the defaultProfile.xml
#6Oh Alexander,
You mentioned Lowering the weapon,
In my defaultProfile.xml I use the command "Debug" - It seems to be the same as pressing the 7 seven Key on the Keyboard.
It will rotate the weapons and then put the gun away.
Again, if I put this in a Flow Graph - it repeatedly presses and does not stop.
Peter.
You mentioned Lowering the weapon,
In my defaultProfile.xml I use the command "Debug" - It seems to be the same as pressing the 7 seven Key on the Keyboard.
It will rotate the weapons and then put the gun away.
Again, if I put this in a Flow Graph - it repeatedly presses and does not stop.
Peter.
Re: Oculus Controllers and the defaultProfile.xml
#7Hi Pharris!
My player also jumped without stopping.
To prevent the jump from starting each cycle, I passed it like this. (See picture)
Maybe it can be done differently and easier, I do not know.
Alexander
My player also jumped without stopping.
To prevent the jump from starting each cycle, I passed it like this. (See picture)
Maybe it can be done differently and easier, I do not know.
Alexander
- Attachments
-
- FG-3.jpg (56.1 KiB) Viewed 9575 times
Re: Oculus Controllers and the defaultProfile.xml
#8To avoid continuous operation, try this.
- Attachments
-
- TRY THIS.jpg (47.93 KiB) Viewed 9249 times