Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi! I'm working with CCB so long, but i'm still don't know how i can realize Weapon Sway via mouse... Any help? Happy new year :) |
||||
|
You can play animation and shoot action at the same time on mouse press to mimic a weapon sway. or can use on proximity behavior with your weapon and then compare it using a variable on mouse press . for example on mouse press play weapon sway animation and check in proximity with enemy if a variable shoot is true than deal damage to enemy and on mouse down set a variable shoot to true and after few seconds here the time will be according to the weapon sway animation time for example if you have 1 second of swaying animation then after 1000ms set variable shoot to false . that way you can achieve a weapon sway on moue press. |
||||
|
Not by press, by moving mouse :) I think it doesn't possible :( |
||||
|
You can compare mouse on x-axis and then trigger the sway. Something like that has been done by me for someone on the forum. in which you can rotate the turret using mouse.. You can use rotate an object using mouse to mimic sway maybe. |
||||
|
There is good discussion on this thread: https://www.reddit.com/r/gamedev/comments/3m548h/techniques_for_weapon_sway_in_fps/ |
||||
|
Maybe many of you had missed this action created by me here, it was burried under so many posts. https://www.ambiera.com/forum.ph... This action rotates an object using the mouse you can edit the action according to your requirements and then make it to work with weapon sway instead of rotation of object. for direct link to the action go with the link below. https://drive.google.com/file/d/... |
||||
|
Thanks, this is good plugin, it didn't fix my problem, but i can use it in my projects Still trying to find way to realize sway. |
||||
|
Create an anim move "sway" with Blender when are idle. Its very easy to eo this outside from copper cube |
||||
|
You can try my animated FPS controllers if you like, they should help with both camera movement and hand movements: https://www.ambiera.com/forum.php?t=8900&page=2 |
|