TheNexusAvenger / Nexus-VR-Character-Model

Maps Roblox characters to the VR inputs of players.
MIT License
66 stars 12 forks source link

Seats cause the character to go nuts #2

Closed DerpzDeNugget closed 3 years ago

DerpzDeNugget commented 3 years ago

Hey, I've been using your VR Character Model script for a while now and I've came to the realisation that when sitting on seats (not vehicle seats, regular old seats) and then exit, you start moving at unknown speeds. for some reason the head direction changes it. Here's a gif: Gyazo Another Gyazo - Might be a bit more clear Proof that the seat I sat in is a SEAT not a VEHICLESEAT image

(What I done there was touch a seat on the back of the car, then jumped off, which causes this bug to happen) This happens with every seat which isn't a vehicle seat. I'm making a small shooting range and whenever i enter one of the seated shooting zones then jump out, This exact thing happens; And as said previously, It for some reason has the head control where you're going, Along with the fact that all Z axis control is inverted. Overall, It can really make you sick if you don't reset. I'm unsure what caused it but I hope it'll be able to be fixed soon. Tell me if you want to ask questions or the sort.

TheNexusAvenger commented 3 years ago

From the video, it looks like you are using a jeep free model on what looks like a baseplate, which should be enough for me to make a repro file. It also looks like you are using smooth locomotion instead of teleport locomotion. Are you seeing this with just smooth locomotion, or teleport and smooth locomotion?

DerpzDeNugget commented 3 years ago

Hey, Thanks for the quick reply! anyways... From what I can tell (especially due to the movement) It's smooth locomotion only - Though quite frankly i'm unsure. If anything, It might also affect Teleport. Though taking a good look at the gif, It seems like it's trying to keep the head in place at all times... Which is odd. I might add that it's just a best bet to have a seat, As in the example I used the jeep as an example - I can clarify that this happens in all seat instances. It's not just the jeep, And it's not a VehicleSeat either - VehicleSeats are completely fine.

Update: I've added some an extra gif and an image to the original post for a broader and clearer explaination.

TheNexusAvenger commented 3 years ago

Smooth locomotion is missing quite a bit of functionality and testing, which is mainly because of how motion sick I get developing and testing it. Don't expect a fix for this in the near future from me. If you really need this functionality, it may be faster to create a pull request with the fix.

DerpzDeNugget commented 3 years ago

Alright - I'll close the issue and hope that I'll be able to figure out a fix.

TheNexusAvenger commented 3 years ago

I am going to keep the issue open as it is an active issue. Just because I am not guaranteeing a fix doesn't mean it is resolved.

DerpzDeNugget commented 3 years ago

Ah.. Alright. Not that familiar with Github so sorry about that.

DerpzDeNugget commented 3 years ago

Okay, So i've figured out that this is an issue with teleporting, and works the same way. How it happens I don't know, But atleast I can confirm that it is an issue with both controllers.

TheNexusAvenger commented 3 years ago

I realized that I wasn't testing this correctly. I test teleporting out of seats not realizing that the A button was active in teleport mode as well. This has been fixed in the master branch and will release in version V.2.0.1 soon.