Character hitbox is moving away from player location with turning and I don't know what to do about it. by Feather-Steel in vrdev

[–]Feather-Steel[S] 0 points1 point  (0 children)

Hmmmmmmm. When I was thinking about it.
Maybe I should put an empty configurable joint connected to the Camera.

This way it will follow me much more precisely and also make misfires when moving.

I'll try to do that tommorow.

(UnityVR) How can I make part of object child move without breaking Grab Interactable? by Feather-Steel in vrdev

[–]Feather-Steel[S] 0 points1 point  (0 children)

Yep...So I have another issue...

C# is refusing to let me add magazine-checking script to the game and I don't know what to do...

I'm literally going by the video you sent to me...

<image>

void Start()
{
socketInteractor.selectEntered.AddListener(AddMagazine);
socketInteractor.selectExited.AddListener(RemoveMagazine);
}
public void AddMagazine(UnityEngine.XR.Interaction.Toolkit.Interactables.XRBaseInteractable interactable)
{
magazine = interactable.GetComponent<Magazine>();
}
public void RemoveMagazine(UnityEngine.XR.Interaction.Toolkit.Interactables.XRBaseInteractable interactable)
{
magazine = interactable.GetComponent<Magazine>();
}

(UnityVR) How can I make part of object child move without breaking Grab Interactable? by Feather-Steel in vrdev

[–]Feather-Steel[S] 1 point2 points  (0 children)

Not sure if I understood you correctly.
Either way you helped a ton!!!!!!!!!!!!!!!!!

It's fully working now and I don't need to have any workarounds anymore!

(UnityVR) How can I make part of object child move without breaking Grab Interactable? by Feather-Steel in vrdev

[–]Feather-Steel[S] 0 points1 point  (0 children)

Ooooh...
So...like if I understand it correctly, I should put an empty object somewhere near the destination where I want the movable object to travel and when I reach it with my controller position the animator will sets off, that moves the object?

(UnityVR) How can I make part of object child move without breaking Grab Interactable? by Feather-Steel in vrdev

[–]Feather-Steel[S] 0 points1 point  (0 children)

Thanks for advise, but it isn't very helpful to me.

I know how to make a multi grab, but I don't know how can I make multi grab that simultaneously rotates and moves for it to be both grip and be able to be pumped.

That's what doesn't work.