25-11-2022, 03:43 PM
(25-11-2022, 03:35 PM)Milionario Wrote: So, on the basic level, on the final attach part, which is what i think you are interested on, is that, after placing the hands at the attach position, I attach the hand rigidbodies of the player character, to the rigidbody of the grabbable object by a fixed or configurable joint.
In this case, it's best to create pin constraints dynamically when the hands are in the attach position. These constraints are what attachments use internally, and are the equivalent of a fixed joint for rigidbodies. See the very end of "scripting constraints" in the manual for some sample code on how to create a pin constraint at runtime:
http://obi.virtualmethodstudio.com/manua...aints.html
kind regards,