Changed how force is applied to character
Added rigidbodies and joints to character
updated look at rotation code
Made changes to object of interest look code
Deactivated head looking temporarily
Reactivated head look, updated forces
Started connecting arm to character
Refactored Character Controller to use Physics Joints for Pickups. The
joint connections between the arm and object are made in
GrabbableObject (creates a joint when it is grabbed and attaches itself
to the grab point). This only works properly for small objects… due to
the manual update of the spring points on the character the character
can still move away from the object, so reconsidering the manual
updating of the Spring Point is a good idea. Look at the CharacterJoint
component… this may be better.
isKinematic experiments… has the same result as the old method despite
being driven by the underlying Physics. Alas.
ArmGrabber now uses SendMessage and the Right Trigger to control
grabbing items.
Fixed subtle grabbing bugs in the Arm (Grab Basic - Physics) Prefab and
scripts. Axis must exceed 0.7 to "grab" and be less than 0.2 to
"release" for the trigger. These variables are tweakable in
ArmGrabberHand (axisOpeningThreshold, axisClosingThreshold).
Player (Physics Alpha) Prefab added. Use this instead of Player
(refactor) or Player (material)
Merge branch 'master' into character-refactor