PlayMaker Help & Tips > VR Help

HTC Vive Gun slide

(1/1)

LordHorusNL:
Hey guys, i'm trying to make a two handed gun with playmaker similar to onward/H3ver. But i can't seem to figure out how to move the slide/bolt with the controller.

Does anybody have any tips or suggestion on how i could achieve this?

I already have a barebone two handed setup, using the bow template from Sebaslive's toolkit.

sebaslive:
Hey!

The slide part is done in my 3D program and I move it in unity. The boys itself has bones that are moved in game. Reason being that the strong has to look as if it's being pulled back from two parts. If it's a gun that only had one part, check out how the controller grabs the string  and set the limit of pull back to whatever it needs to be. Also the guns part should only move back in z right. Make sure no other axis is being moved on pull. Just remove all that from the bow fsm.

Info is a bit vague but the bow fsm has details where everything goes. I hope this helps!

LordHorusNL:
Thanks for the reply, i figured it out for the most part. i was using the "float clamp" action and this seemed to be broken. So after a quick update it's now working almost the way i want it!

Except when i grab the slide/bolt it always snaps to the position of the controller instead of staying where it is and only updating it's position when i actually move the controller.

Still working on that

Navigation

[0] Message Index

Go to full version