Is there a way to get the diff of the changes to the KinematicMotor or other classes?
Maybe git access or something? I made some changes for my game and I’d like to see the fixes/updates/changes directly so I can apply them to my own version.
It would be possible to use this: https://www.diffnow.com/
and just compare the vanilla version from the previous update with the next
The changes I’ve made so far in KinematicCharacterMotor are very simple (changed some private’s for public’s, added SetPosition/Rotation methods, etc…), so I don’t think the upgrade would be a lot of work
Right now you’re making it rotate towards its move input vector. When you let go, that vector will be zero, and that’s why the reset happens. To solve this, only modify rotation if the move input vector isn’t zero
Hey.
Just bought it now and ran the example scene. It was very stuttery. I had to turn off Auto Sync Transforms and set my fixed timestep to 0.001. Smooth as butter after that.
You might want to add a warning to Unity 2017 users to do this otherwise some might get a bad first impression. So far so good.
I will definitely check this out. Normally, things should be working smoothly with or without autoSync, and with any fixedTimeStep (even if it’s 1 second), but I wonder if the last update broke this. What version of unity are you using?
This package makes good use of Physics.ComputePenetration(), which was introduced in 5.6, but was buggy. It was later fixed in 2017.1, which is why that version is the minimum requirement.
However, it’s possible that it would work just fine with the latest 5.6 patch. I’ll make some tests tonight and report back
@Discord
Just tried it with Unity 5.6.3p4, and it works fine. I’m assuming the patch releases after that one will be fine too.
The only thing to note is that one of the “Walkthrough” example scenes uses the Playables API for something that’s unrelated to the character controller (I used it for moving a platform with an animation clip). It’ll give you an error since it was introduced in 2017.1. Simply commenting out the code will fix this
Hi- Just curious about this character controller pack.
Does this allow forward, backward, and side movement while you are in the air? I’m currently using the built in Unity 3rd person character controller and it doesn’t allow this. I know I can modify it but I’d rather use a prebuilt package like this if possible. Thanks!
So cool! I also just realized I had another question: Is there swimming (underwater) type controls you can configure as well? I’ve seen other underwater controllers on the app store but none so far as nice as yours
There is an example for writing a swimming state, along with a tutorial that takes you through all the steps required to code this.
It is pretty robust in terms of reliability and smoothness, but I’m not sure if it has enough features to really be used in most games without adding anything to it in code. Here’s what it looks like: https://i.gyazo.com/53d12ccf02ec91aa2ec9eea075984078.mp4
Hey so I downloaded and imported the assets into my project and tried to run the example playground but I am getting a ton of errors. Mostly stuff like "OrbitCamera does not contain a definition for ‘SetFollowTransform’ and no extension method 'setFollowTransform of type OrbitCamera could not be found. "