A first person player controller for Unity.
A fixes update to fix some remaining bugs and future-proof Gold Player slightly.
I'm happy to announce the newest and last version of Gold Player, version 1.7.0! It's been in the works for a really long time and I think it's finally time to just wrap it all up.
ShouldJump
in PlayerMovement
is now get only and returns if the player should jump with stamina, air jumps, etc, considered. PressedJump has been added as a replacement for the old behavior.IsRunning
to true when time scale is 0.I hope you enjoy!
I'm very happy to announce that I can release version 1.6, probably the biggest update yet! I've tested it a lot and hopefully it will be a stable release. It's main focus was to polish up all features and fix as many annoyances as possible. But without further ado... Here's the changelog!
MovementInput
, SmoothedMovementInput
, ShouldJump
, ShouldRun
, and ShouldCrouch
public to be able to control movement through code.Hertzole.GoldPlayer
. Your code may break if you've referenced Gold Player in code but you mostly only need to remove old namespaces.GOLD_PLAYER_INTERACTION
script define. It's now recommended you ONLY remove components using project settings/script defines.I hope you'll enjoy it! Remember to report any bugs in the issues section.
Quite a rushed and smaller release because of the plethora of problems with input found in the previous version. Sorry about that.
Here are the changes...
SetPosition
, SetLocalPosition
, and SetPositionAndRotation
methods added to easily set the position.The next update should be a lot better!
Some minor bug fixes and improvements.
I recommend removing all the old files and then bringing in the new ones to update. Or if you're using the package version, see 'updating gold player' at the bottom here.
After a long while, here's the next update to Gold Player to bring you even more awesome features and improvements!
New stuff:
Camera.ApplyRecoil(amount, time)
)Other changes:
m_FieldName
to fieldName
.Fixes:
Please notice: Due to the prefab changes introduced in Unity 2018.3, the example scene will no longer be included in the unitypackage version. It shouldn't be too much of a problem because you can create an (almost, except for step sounds) ready to use player controller using Create - 3D Object - Gold Player Controller. If you for some reason want the example models and scene, then you can download them by downloading the entire project. And for 2018.3+ versions, I highly recommend the package manager version which doesn't even include the prefabs. See here for installation instructions.
A brand new update has been released! It has new features and bug fixes!
New stuff:
Minor changes:
protected virtual
functions instead of private
.Fixes:
MovementSpeeds.Max()
and it not knowing what the max was.NOTE! All editor scripts are now in a separate Editor folder, so if you're cherry picking modules, be sure to only import the editors you need. This also means that if you're upgrading from an older version, you need to remove all the old editor folders located in the component folders!
Hello
Here's a new update to fix some problems that seem too important to wait with.
Bugs fixed:
From now on, I will do much more testing before releasing. These bug fixes should've not had to happen in the first place.
Almost stable release 1.2.2 has been released. This update is mostly for a VERY important fix (so sorry if you've been affected by this) and one new feature. I also haven't fully tested the new feature but the fix was too important to wait with.
New features:
Bug fixes: