

A rigid body called _handleRB, and a bool called _grabbed. Find this & other Physics options on the Unity Asset Store. All you need is to grab the transform (object) and apply a translate which includes a vector 2 for direction, then speed and time.
#Unity osx player prefs not working how to
Although there are few very good articles in the web explaining how to achieve this I wanted to do something myself, probably because I found the other tutorials very big and hard to implement.
#Unity osx player prefs not working update
remove rigidbody requirement from snap drop zones (54fb412) update interact touch parameter to make sense (5fde9ab) force secondary controller release on primary drop (88ea725) allow grab on force snapped item after ungrab (96239c0) prevent ungrab event being emitted if not grabbed (b4b8171) remove register touch listeners from update (2e4cb13) The problem came in once I added some code to allow the player to grab onto an object with a rigid body, as I wanted to allow the grappling gun to move the object. My issue was that I used a Rigid Body vs a Static Collider (Capsule).

Unity grab rigidbody I've tried using a rigidbody and locking the rotationlike that, but that doesn't work.
