playMaker

Author Topic: Advanced Rigidbody First Person Controller  (Read 4362 times)

NateGallardo

  • Playmaker Newbie
  • *
  • Posts: 31
Advanced Rigidbody First Person Controller
« on: September 22, 2018, 08:15:46 AM »
I’ve been testing the Advanced Rigidbody First Person Controller [link] asset from the Asset Store recently. It’s free, and it’s a really solid, tidy, lightweight character controller. In my opinion is a significantly better starting point than the default Unity character controller. It's got a load of easily adjustable properties right in the Inspector. It can also be extended easily by programmers as the code is available, so it’s a great start for jams and larger projects alike.

To quote the developer:
Quote
Advanced Rigidbody FirstPerson Controller or ARFC (also the namespace that contains the code) is a rigidbody based first person character controller packed with both standard and advanced features such as :
Sprinting.
Jumping (with the ability to define double, triple, .. etc jumps).
Crouching.
Proning (lying Down).
Sliding (crouch while sprinting).
Leaning left & right (peaking).
Surface based sounds (also works with terrains using splat maps).
Constraints to define if the character can move, crouch, jump, ... etc.
Code events such as OnLanded, OnStateChangeEnd, OnJumpEnd, ... etc.
All contained within a neat modular easily extendable package.


Jean expressed interest in creating some actions for it, and I think that would be great.

One slight hitch is that the developer doesn’t intend to support the asset anymore. However, he has released it under the MIT license, and the asset is free to be modified and re-released in any form. It’s such a strong base for first person projects, that it would be excellent to have some actions built to support it, and perhaps as a community we can keep the asset up to date and make the few modifications that it would currently benefit from.



In short, actions to get and set most of the properties on the FP Controller would be great. But at a pinch, I think the most immediately useful would be:

-Get/Set Constraints bools
--Control, Move, Jump, Jump From Air, Sprint, Crouch, Prone, Slide, Look, Lean, Head Bob

Get/Set Movement variables
-Gravity Multiplier
-In Air
--Control
--De-Acceleration

Get/Set State variables
-Speed

Get/Set Look Variables
-Modifiers
--Sensitivity
--Smooth Scale
--Invert Y
-Range
--Up
--Down



Asset Store
http://u3d.as/10M3

GitHub
https://github.com/Moe-Baker/Advanced-Rigidbody-FirstPerson-Controller

Forum Thread
https://forum.unity.com/threads/free-released-advanced-rigidbody-firstperson-controller.510264/