VR Gun physics help

Aight. Lemme cut straight to the chase.

I am completely stuck on Gun Physics for VR. I have tried Constraints with limits, and usage of prismaticComstraints and Springs.

Is there any way I could (for example, make a Glock Slide move back when it is pulled) by using bodyMovers or something like that? How would I detect if the slide is being pulled in the correct direction?

If anyone has any ideas, please tell me. Thanks!

3 Likes

Try using prismatic constraint with a BodyVelocity, then use a BodyPosition to bring it back.
then once it has done all of that use a weld to hold it in place

just a suggestion, probably not the best

1 Like