A players hand, used for grabbing items/players. More...
Public Member Functions | |
| delegate bool | ModRagdollHandJointGrabFunc (GameObject grabbingGameObject) |
| void | AddIsAllowedToGrab (ModRagdollHandJointGrabFunc isAllowedToGrabCallback) |
| Add a func callback whether an item should be grabbable or not. | |
| void | RemoveIsAllowedToGrab (ModRagdollHandJointGrabFunc isAllowedToGrabCallback) |
| Remove a func callback whether an item should be grabbable or not. | |
| void | ForceGrab (GameObject attemptGrabObject, Vector3? localPositionToGrab=null, bool bForce=false) |
| Force grabs an item. | |
| void | ForceUngrab () |
| Force ungrab any object you are holding. | |
| void | SetIsAllowedToGrab (bool bIsAllowedToGrab) |
| Sets whether this hand is allowed to grab (Server only) | |
| void | SetIsAllowedToPoint (bool bIsAllowedToPoint) |
| Sets whether this hand is allowed to point (Server only) | |
| void | ResetPointing () |
| Reset the pointing back to normal (Server only) | |
| void | SetPointing (bool bIsPointing, bool bForce=false) |
| Set whether this hand is pointing (Server only) | |
| bool | IsGrabbing () |
| Returns whether this hand is grabbing (Server only) | |
| bool | IsPointing () |
| Returns whether tihs hand is pointing (Server only) | |
| GameObject | GetGrabbingObject () |
| Returns the current grabbing object (Server only) | |
A players hand, used for grabbing items/players.
| void ModWobblyLife.ModRagdollHandJoint.AddIsAllowedToGrab | ( | ModRagdollHandJointGrabFunc | isAllowedToGrabCallback | ) |
Add a func callback whether an item should be grabbable or not.
| isAllowedToGrabCallback |
| void ModWobblyLife.ModRagdollHandJoint.ForceGrab | ( | GameObject | attemptGrabObject, |
| Vector3? | localPositionToGrab = null, |
||
| bool | bForce = false |
||
| ) |
Force grabs an item.
| attemptGrabObject | The object you are trying to grab |
| localPositionToGrab | The exact local point you want to grab |
| bForce |
| void ModWobblyLife.ModRagdollHandJoint.ForceUngrab | ( | ) |
Force ungrab any object you are holding.
| GameObject ModWobblyLife.ModRagdollHandJoint.GetGrabbingObject | ( | ) |
Returns the current grabbing object (Server only)
| bool ModWobblyLife.ModRagdollHandJoint.IsGrabbing | ( | ) |
Returns whether this hand is grabbing (Server only)
| bool ModWobblyLife.ModRagdollHandJoint.IsPointing | ( | ) |
Returns whether tihs hand is pointing (Server only)
| delegate bool ModWobblyLife.ModRagdollHandJoint.ModRagdollHandJointGrabFunc | ( | GameObject | grabbingGameObject | ) |
| void ModWobblyLife.ModRagdollHandJoint.RemoveIsAllowedToGrab | ( | ModRagdollHandJointGrabFunc | isAllowedToGrabCallback | ) |
Remove a func callback whether an item should be grabbable or not.
| isAllowedToGrabCallback |
| void ModWobblyLife.ModRagdollHandJoint.ResetPointing | ( | ) |
Reset the pointing back to normal (Server only)
| void ModWobblyLife.ModRagdollHandJoint.SetIsAllowedToGrab | ( | bool | bIsAllowedToGrab | ) |
Sets whether this hand is allowed to grab (Server only)
| bIsAllowedToGrab |
| void ModWobblyLife.ModRagdollHandJoint.SetIsAllowedToPoint | ( | bool | bIsAllowedToPoint | ) |
Sets whether this hand is allowed to point (Server only)
| bIsAllowedToPoint |
| void ModWobblyLife.ModRagdollHandJoint.SetPointing | ( | bool | bIsPointing, |
| bool | bForce = false |
||
| ) |
Set whether this hand is pointing (Server only)
| bIsPointing | |
| bForce |