hey all,
is there a way to lock the aim of the gun while i'm in a vr mod?
the gun keeps on moving around and its hard to aim down sights.
Re: lock aim
#2Can you provide some more detail such as what device you are using, engine version, project type (Template/GameSDK?).
What do you mean exactly when you say "vr mod"?
What do you mean exactly when you say "vr mod"?
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: lock aim
#3yes sure,Can you provide some more detail such as what device you are using, engine version, project type (Template/GameSDK?).
What do you mean exactly when you say "vr mod"?
The device is the htc vive
The version is version 5.5.2
The project is GameSDK
Whenever I try to run a GameSDK in vr mode the run is all over the place.
I want to create an easy project that the gun will lock on my view point all the time.
Re: lock aim
#4Can you give some footage of what you mean?
If you want to stop the gun moving when walking etc, use the CVAR g_debugWeaponOffset = 0
This will not remove all bobbing though, you may need to edit the GameSDK source file such as "Code\GameSDK\GameDll\WeaponFPAiming.cpp".
There are also some parts that are managed by the animation, such as idle animation, as well as other parts managed by other areas such as Ironsight Sway when using ADS.
If you want to stop the gun moving when walking etc, use the CVAR g_debugWeaponOffset = 0
This will not remove all bobbing though, you may need to edit the GameSDK source file such as "Code\GameSDK\GameDll\WeaponFPAiming.cpp".
Code: Select all
SetAnimWeight( animationWeight * stabilizeWeight ); // pass 0 here to remove all weighted effects
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